selective enabling/disabling of BOOST_AUTO_TEST_CASE

Hi I have several tests in my unit test file each of them uniquely named using the function BOOST_AUTO_TEST_CASE. I may not need to run all of them always and as of now what I do is to comment out the tests which I dont want to run. Instead of commenting out code, is there any other way I can selectively enable or disable tests if i have created tests with BOOST_AUTO_TEST_CASE. thanks suresh -- R Suresh Kumar, http://www.ee.ucr.edu/~sramachandranna -- Dhyaana–moolam Guror murtih Puja-moolam Guroh padam Mantra – moolam Guror vakyam Moksha – moolam Guroh krpa.

AMDG Suresh Kumar wrote:
I have several tests in my unit test file each of them uniquely named using the function BOOST_AUTO_TEST_CASE. I may not need to run all of them always and as of now what I do is to comment out the tests which I dont want to run.
Instead of commenting out code, is there any other way I can selectively enable or disable tests if i have created tests with BOOST_AUTO_TEST_CASE.
You can control which tests are run on the command line See http://www.boost.org/libs/test/doc/html/utf/user-guide/runtime-config/run-by... In Christ, Steven Watanabe
participants (2)
-
Steven Watanabe
-
Suresh Kumar