Boost logo

Boost :

From: Kim Barrett (kab_at_[hidden])
Date: 2005-09-23 19:30:18


Using Boost.Test from the boost 1.33 release,

The reported number of passed assertions for each test case is one greater
than the actual number of assertions performed by the test case. For
example, the most trivial of auto-unit-test programs, attached below,
reports 1 assertion out of 1 passed. I see no test assertions here.

----------

#define BOOST_AUTO_TEST_MAIN
#include <boost/test/unit_test.hpp>
#include <boost/test/auto_unit_test.hpp>

BOOST_AUTO_UNIT_TEST(test_no_assertions) {
}


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk