How do I run only ordered tests?

In Visual Studio 11, I'm facing a complex issue.

I'm using the Unit Test Explorer to run unit-tests. However, it shows both my normal unit tests and my ordered tests, which are basically collections of tests to run in a specific order too.

That doesn't work well for me, because I would love to have the setting "Run tests after build" on. However, as you would expect, what happens is that it runs both all my tests individually out of order and then runs my ordered test as shown in the picture below.

enter image description here

I would really love to be able to run only my ordered tests when the build finishes. I am not interested in third-party plugins/extensions to help me do this.

Upvotes: 1

Views: 666

Answers (1)

I ended up using a build server, and then configured my build configuration as follows, which will run all tests with the orderedtest file extension:

enter image description here

Upvotes: 1

Related Questions