Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-02-07 11:42:53


Hi,

While working on Boost.Test documentation update I've realized that there is
no substantial reason anymore to keep this component around. The Unit Test
Framework work just as well and does not require any more effort. Here is an
example:

Using the Test Execution Monitor:
----------------------------------

#include <boost/test/test_exec_monitor.cpp>

int test_main( int, char* [] )
{
   /// your testing is here

   return 0;
}

Using the Unit Test Framework:
----------------------------------

#define BOOST_TEST_MAIN
#include <boost/test/unit _test.cpp>

BOOST_AUTO_TEST_CASE( my_test )
{
   /// your testing is here
}

There are monor preferences for either solution (test_main look like main,
but require return statement and argument specifications). But from
usability standpoint they are similar.

I know that many Boost developers are using this component. So I would like
to hear community opinion. If nobody speak up I am planning to depricate
this component (first from documentation in 1.34, an from source code in
1.36)

Regards,

Gennadiy


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