Boost logo

Boost Users :

From: Hernán Leoni (leoni.hernan_at_[hidden])
Date: 2008-01-27 23:54:00


Hi,

  I'm beginning to use Boost.Test, I decided to create a test suite (with
BOOST_AUTO_TEST_SUITE) for each module to test, and various test cases (with
BOOST_AUTO_TEST_CASE) in each suite.
  I was wondering is it exist any macro to define functions to be executed
at:
          - test suit initialization: execute a function before any test in
the test suite
          - test suit finalization: execute a function after any test in the
test suite
          - test setup: execute a function before each test
          - test tear down: execute a function after each test
Is there an easy way to do what I need?
Many thanks,

Hernan



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