Boost logo

Boost :

Subject: [boost] [Test] documentation inconsistencies
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2009-01-10 15:14:53


Hi,

I was trying to follow the docs at

http://www.boost.org/doc/libs/1_37_0/libs/test/doc/html/utf/user-guide/test-organization/auto-nullary-test-case.html

I don't want to include everything, so I compile Boost.Test with dynamic
linking.

In this case I have to include two headers:

#define BOOST_TEST_MODULE conditional_cost_experiments
#include <boost/test/unit_test.hpp>
#include <boost/test/unit_test_suite.hpp> // this one is also needed
when linking!!!

Maybe it would be better to include the latter header in the first?

best regards

-Thorsten


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