|
Boost : |
From: Mike (dykciarz_at_[hidden])
Date: 2007-07-06 04:02:30
Greetings.
test_suite doesn't have 'remove test' method. I'm wondering why... It
might be quite useful. My company uses boost::test and defines
test_suites in different DLLs loading them as they needed (creating
the 'test tree' from cases and suites). The problem arises when it
comes to unload the DLLs. We need to use pretty ugly workaround that
is 'first unloaded test_suite DLL needs to destroy all test cases'.
We're trying to avoid 'memory can't be read' issue.
Making any changes in boost::test is extremly poor idea because
someone needs to be delegated to track changes in boost::test and make
intrusive changes.
Inheritance from test_case or test_suite is impossible due to nature
of them - they are implemented as (private) pimpls.
Is there any chance to add 'remove' facility to boost::test or at
least test_suite?
Kind regards.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk