« Return to Thread: unit test: apply same test case to different fixtures

unit test: apply same test case to different fixtures

by hm567 :: Rate this Message:

Reply to Author | View in Thread

I have auto test cases that can take fixtures whose members they access in a
uniform way.

Say   struct F1... Fn

BOOST_FIXTURE_TEST_CASE( test_case1 , F1 ... Fn )
{
  //same code for all Fi
}

Is there a way to do this?

Regards,

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

 « Return to Thread: unit test: apply same test case to different fixtures