[Boost.Test]feature request to list testcase tree
I am a fan of Boost.Test. As a habbit, I organize my code this way:
// file: Foo.h
Class foo
{
// implementations
};
#ifdef ENABLE_TEST
namespace test_cases
{
BOOST_AUTO_TEST_CASE(foo_tests)
{
// test predicates of class foo
}
} //namespace test_cases
#endif
//end of file Foo.h
With this structure, I can always carry test cases with any class I
write, I just need to copy the file around. When I need to test it there
is a universal test main.cpp
//File test_main.cpp
#define BOOST_TEST_MAIN
#include
participants (1)
-
Tan, Tom (Shanghai)