Boost logo

Boost Users :

Subject: Re: [Boost-users] {Boost-Test] How to specify order test suites are run.
From: Peter Steinbach (steinbach_at_[hidden])
Date: 2015-06-01 02:20:38


Hi Merrill,

from what you describe, using the BOOST_REQUIRE asserts should do the job.

See the documentation:
http://www.boost.org/doc/libs/1_58_0/libs/test/doc/html/utf/testing-tools.html

The test execution aborts, if predicate evaluated in the BOOST_REQUIRE
level tools returns false.

Best -
Peter

On 06/01/2015 12:18 AM, Merrill Cornish wrote:
> I'm running Boost 1_58_0 on Windows 7.1, 64-bit, with MinGW 4.9.2, 64-bit.
>
> I've just started writing tests for my project and have one test suite
> working. I'm using BOOST_AUTO_TEST_CASE and BOOST_AUTO_TEST_SUITE.
> 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.
>
> Is there a way to do that, or does choosing BOOST_AUTO_TEST_SUITE take
> it all out of my hands?
>
> Merrill Cornish
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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