
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Gennadiy Rozental Sent: 08 July 2009 16:17 To: boost-users@lists.boost.org Subject: Re: [Boost-users] unit test: apply same test case to different fixtures
Steven Watanabe
writes: BOOST_FIXTURE_TEST_CASE( test_case1 , FIXTURES((T1)(T2)(T3)) ) { }
The question is how to run the test case on T1 then on T2 then .... on Tn , on each one separately
I must say you left me a bit puzzled. What does it you are trying to do? Run the same code against different fixtures? Kinda weird, don't you think?
In other words, you'd like there to be a BOOST_FIXTURE_TEST_CASE_TEMPLATE to complement BOOST_AUTO_TEST_CASE_TEMPLATE
Not really, as far as I can tell.
Gennady
The different fixtures have the same member names, even if their types are different and the test case code uses those member with the same syntax... It's bit like if the fixture was a template argument... regards,