Unit tests order

Since some version ReSharper test runner executes the tests not in order the tests are listed in session list, but in some "random" order.
It makes very hard to find tests that are "red" to solve the dependency problem becase the order the tests were run is unknown. Is it possible to see somewhere the exact list of tests in order they were run? Or maybe to stop the test session on first red test?

2
3 comments

I'm having the same issue, impossible to run tests in order

0
Avatar
Permanently deleted user

I think R# always displays tests in alphabetical order, regardless of the execution order. Usually the order should not matter, but for integration tests you often have some initial tests and if those fail, other follow-up tests may be obsolete. NUnit allows to control execution order with their [Order(x)] attribute and tests _are_ run in that order, even from R#. Would be nice, if R# allows to display tests in execution order.

1

Hello,

 

You are welcome to comment or vote for the corresponding feature request - https://youtrack.jetbrains.com/issue/RSRP-301359.

Thank you.

-2

Please sign in to leave a comment.