From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2008-07-23 00:57:16
I've been using Boost.Test for a while already, and although I do
think it's a very powerful library, it is a little unweildy to
navigate the documentation of the library. For example, currently in
the online documentation, links to the examples don't work correctly
and there are areas which lead to "404" messages.
The question is really simple though: when using BOOST_AUTO_TEST_CASE,
how do I cut down on repetitive code and set up "fixtures"? For
example, set up variables that are common in all test case bodies in
the same file?
I'm pretty confident there should be a way to do this -- and if there
is, where do I find documentation on it?
For now I'll resort to header-reading to find out how to use the
macros, though it would be nice to have a one-stop library reference
or guide for Boost.Test.
-- Dean Michael C. Berris Software Engineer, Friendster, Inc.
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk