Boost logo

Boost Users :

Subject: [Boost-users] Boost.Test: test suite with parameter
From: Hendrik Fuß (fuss_at_[hidden])
Date: 2011-03-23 03:48:09


Hi folks,

I've got a suite of tests that test the functions of an abstraction layer. What I would like to do is to apply this suite to any number of concrete implementations of the abstract interface. That is, my test suite should have one parameter, say, a pointer to the abstract interface's implementation.

I know I can register unary function based test cases, but how can I provide an argument to an entire test suite? I wasn't able to figure this out.

Appreciate any help.

cheers
Hendrik


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