boost-test

How global fixtures work in BOOST.Test?

I have started using BOOST recently for unit testing. Just need one clarification on global fixtures. When it got executed? ... for each test module, or each test suite or each test case? Will it be the first before any thing else got executed? I am using the BOOST_AUTO_TEST_CASE for writing my tests. ...

What is the better way to generate test report in a file using BOOST.Test?

I know by default report is directed to standard-error, and so one has to redirect it to a file. My question is shall we do this inside a global fixture? Which isn't seem to be working for me some how. This is what i tried - struct MyConfig { MyConfig() : testReport("fileName.log") { if(!testReport.fail()) original = std...