Nate
Nate

Reputation: 2326

How do I run tests under a certain folder?

I'd like to be able to run all the tests under a folder structure like below. Anything under "tests" I would like to run. Is this possible?

We have a bunch of other tests in our project that haven't been maintained. We're migrating tests into this new tests folder.

Would a test category work?

Nested tests in folders

Upvotes: 4

Views: 90

Answers (1)

Cybermaxs
Cybermaxs

Reputation: 24558

Since VS2012 SP1, there are new test filters. You can use them to run your tests.

test filters

Of course, you could also use a Category for this : you just need to tag every test class.

Upvotes: 3

Related Questions