1 Jun
2015
1 Jun
'15
6:03 p.m.
Merrill Cornish
There will be many more test suites to come. They are not LOGICALLY dependent on each other, but if some fail, the other tests will be a waste of time. Therefore, I would like to be able to specify the order in which they are run.
Upcoming Boost.Test v3 has this feature in a form of depend_on decorator. It will enforce the order between test unit (making sure you do not introduce cycles) and also will only run test unit if all the prerequisites (including dependent test units success) are satisfied. You can give it a try using develop branch of Boost.Test. Gennadiy