Hi Eugene, Eugene Wee wrote:
On Sun, May 10, 2009 at 7:52 PM, Ruediger Berlich
wrote: I would now like to make sure that tests are run in a specific order. After all these are unit tests, and I want the most basic components to be tested first.
Why not make the tests independent so that they can be run in any order?
Regards, Eugene
if I understand you correctly you suggest to organize tests for each class in its own executable and to run them separately, e.g. from a script. This would definitely be an option, so I'll resort to that when no other possibility is available. However, there must be some component in Boost.Test which chooses in which order tests are executed. It does not appear to be the linking order (I have tried that). Hence I was just wondering whether ther was an easy way to influence the execution order (which would then save me a few hours). Alphabetic order ? In any case thanks, Ruediger