I have never done the ordered tests since I am from beleif, which is not a good practice. Where I work, they tell me to do it, so drop that good or bad practice.
I am new to msTests, so you can help me here.
I have 10 tests and they need to be run in a specific order, or some of them will fail.
- I created a base test class and added all 10 tests.
- I created a custom test and moved right in the order in which I want to run them. All perfectly.
- Run the tests, but MsTest runs the tests twice. After the ordered tests, everything is successful! But the same tests are also performed in no particular order.
I am missing the obvious if I have a set of tests that are in order, if they are not removed, since regular tests run only as an ordered test.
How can I make a test suite only as ordered tests?
Any suggestions?
unit-testing mstest
user451259
source share