Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Test]
From: Ruediger Berlich (ruediger.berlich_at_[hidden])
Date: 2009-05-10 12:50:30


Hi Eugene,

Eugene Wee wrote:
> On Sun, May 10, 2009 at 7:52 PM, Ruediger Berlich
> <ruediger.berlich_at_[hidden]> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net