1

Is there a way to read the test results (all assertions that either passed ot failed) at runtime using Boost Unit Testing framework ?

What I want is to produce custom test log and output it to the console in a custom human readable format after each test I run.

ildjarn
  • 62,044
  • 9
  • 127
  • 211
Marc Andreson
  • 3,405
  • 5
  • 35
  • 51

1 Answers1

1

The way to do this is to have Boost.Test output XML, which you then parse and translate to your custom format. Use the report_format and related options to set the format and the level.

AFoglia
  • 7,968
  • 3
  • 35
  • 51