Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Test] BOOST_FAIL vs BOOST_ERROR
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-05-22 07:55:56


Greg Christopher <gchristopher <at> vmware.com> writes:
> As it turns out this throws off the monitor. If my setup step throws this,
boost test thinks that my test was
> ill defined (no assertions):
>
> Entering test case "TEST_2"
> Test case TEST_2 doesn't include any assertions
> Leaving test case "TEST_2"
> Leaving test suite "BasicTest"
> Leaving test suite "BasicTest"
>
> If I don't abort the setup, this executes all the test cases and doesn't say
it doesn't include any
> assertions. I suppose the error message is harmless, but incorrect.

Why was it incorrect? Your test case indeed did not run any assertions. This
warning you can ignore safely in your case.

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