Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-04-21 10:02:37


I have quite a bunch of tests which use test execution monitor and look like
this

   int test_main(int ac, char* av[])
   {
        test_a();
        test_b();
   }

and so on. There's another method, in which there's "init_unit_test_suite"
method, which returns a property initialized test_suite object.

What are the advandates of the second method, assuming all my tests will be
free-standing functions? Is there something that I loose by not switching to
that method? I'm really trying to understand if I should invest any time into
this.

TIA,
Volodya


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