On Mon, Nov 5, 2012 at 10:43 PM, Richard <legalize+jeeves@mail.xmission.com> wrote:
[Please do not mail me a copy of your followup]

boost-users@lists.boost.org spake the secret code
<24214-1352044228-124888@sneakemail.com> thusly:

>At link time, these appear in some undetermined order.  How can I cause
>them to be run in the desired order instead?

Good test design says that the tests are all independent of each
other and can run in any order.

Why do you want/need the tests to run in a certain order?

mmmm.... Test might be independent in their order and you can run them even randomly with Boost.Test by passing the random command line flag, but there is a big BUT here (as it is always the case in software development). This BUT is:

I find such a feature very useful. Sometimes you can save lot's of time if using a dependency mechanism you can skip tests which would depend on critical tests which fail anyway. In that case it might make no sense to run smth that is obviously broken... Just mark it broken as well and don't run it. 

I really agree with you that otherwise putting the TCs in some special order and make them depend on some global state is very fragile probably not reproducible.