Monday, February 11, 2013

Getting more output out of C++ Boost Unittest Framework

I spent a more than 15 minutes to figure that out so I will note this here. I was trying to get as much output as possible from my Boost C++ unittests, and somehow the output file was smaller if I used the sink options.

This is what gave me the biggest result file in my tests:
-r detailed -l all >results.txt 2>&1

This is the documentation for the unittest program arguments: