How google-test makes test sequence (or order of test case execution) for testing test cases?
Suppose I have 5 test cases.
TEST(First, first)
TEST(Secnd, secnd)
TEST(Third, third)
...
TEST(Fifth, fifth)
How google-test test above test cases? I mean in what sequence?
Or can we provide any test sequence?
The advanced reference pages for googletest in the chapter Shuffling the Tests tells :
This is actually a good way of unit testing, since tests should not depend on the order of execution.
As far as I know, there are no ways of setting the order of tests execution. The only parameter you can set is the seed, used to set the same order of execution.