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>> 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.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at