« Return to Thread: [test] How do run a specific test suite?

Re: [test] How do run a specific test suite?

by Ahmed Badran :: Rate this Message:

Reply to Author | View in Thread

Ahmed Badran wrote:

> Christian Henning wrote:
>> Hi there, I believe I once read that one can specify test suite to be
>> run as a command line parameter. By default all test suites are
>> running, but, the user should be able to specify one in the case there
>> are several suites.
>
> Excellent point.
>
>>
>> I've tried to look up that information inside the boost::test
>> documentation but couldn't find it. Am I wrong that such functionality
>> exists?
>>
>
> afaik, this functionality doesn't exist however you can do command line
> globbing:
>
> ./my_unit_tests.exe --run_test=test_feature*
>

Actually thinking more about it and looking again at the documentation,
you can use the globbing and "/" to pick particular test cases/test suites

You can do:
./my_unit_tests.exe --run_test=test_suite_1/*

hope this is useful.

Regards,
Ahmed
_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

 « Return to Thread: [test] How do run a specific test suite?