Boost logo

Boost Users :

Subject: Re: [Boost-users] unit test: apply same test case to different fixtures
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-07-08 11:16:44


Steven Watanabe <watanabesj <at> gmail.com> 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.

Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net