Hi,

 

I am trying to learn to use the Boost.Test framework and have read through the online documents explaining how to use Boost.Test.  I have been unable to find how to access the argc and argv variables while using BOOST_AUTO_TEST_CASE with “BOOST_AUTO_TEST_MAIN” defined.

 

So my question is using “The automatic registration facility” (http://tinyurl.com/y2en48) is it possible to access argc and argv?

 

If not does that mean I have to define a “boost::unit_test::test_suite* init_unit_test_suite ( int argc, char* argv[] )”  and use these variables?

 

Thanks,

 

Peter.