
On 21 December 2011 01:44, Steven Watanabe <watanabesj@gmail.com> wrote:
On 12/20/2011 04:01 PM, Mateusz Łoskot wrote:
I have been contemplating idea of leaving the source code of tests structured as it is now, but having a tool which generates some sort of "Unity Builds" - all in single translation unit.
Perhaps, having all tests wrapped with Boost.Test macros for test cases, it would be possible to have such feature compile-time configured by Boost.Test with Boost.Build support to switch between many and single test runners variants.
Best regards,
The easiest way to do it with Boost.Test is to use automatic registration and #include all the source files in a single file.
Steven, That's what I want. Another reason to switch to Boost.Test and automatic registration. Thanks! Best regards, -- Mateusz Loskot, http://mateusz.loskot.net