|
Boost Users : |
Subject: Re: [Boost-users] Boost::Test: Registering Positive and Negative Tests
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2011-08-24 16:29:54
Jeffrey Walton <noloader <at> gmail.com> writes:
>
> Hi All,
>
> Our project currently uses Boost ::Test and auto registers the tests
> with BOOST_AUTO_TEST_CASE.
>
> We have both positive an negative tests, and would like to register
> accordingly so we can selectively turn off negative tests (for
> example, turn of negative tests when running Valgrind due to
> Signal/Noise ratio).
>
> Is this supported?
You can split your test cases into 2 test suites and specify which test suite to
run in a command line.
I am also looking to implement new feature in Boost.Test which will present
another solution for problems like this.
Gennadiy
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