Boost logo

Boost Users :

Subject: [Boost-users] unit test: apply same test case to different fixtures
From: Hicham Mouline (hicham_at_[hidden])
Date: 2009-07-07 05:33:48


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 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