Subject: Re: [boost] Unit Test Framework - strange behaviour of test_unit::depends_on
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-12-18 19:31:35
Me here wrote:
> Hi there,
> Why the code below does not run test case TC_TestCase and reports that the whole test suite is skipped? Nothing is executed from my code. If the line /*1*/ is commented out, then behaviour is as expected.
Because test suite Test_Test depends on test unit Dependency, which is
never run, as if it was skipped. If dependency is skipped, test unit is
skipped as well.
> I have to admit that test_unit::depends_on is not documented. Unit test framework is changed in 1.37.0 but changes are not documented anywhere.
Please open a ticket. This should be fixed.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk