Boost Test - Customize output.
Hi all, I'm using Boost::Test to build a regression test of a library and it's working well. But I'd like to customize the output. For example, I get: c:/REPOSI~1/Stable/pdglib/libs/forex/OPTION~1/test/src/option_test_case.cpp(83): error in "option_test_case::regression": american (38) - reference lib (foreign_rho): -1.#IND new lib (foreign_rho): 0 The information about the file and number of line are unnecessary. How can I suppress it? And is it possible to customize the final report too? Thank you, Mirko Cambi
mik
The information about the file and number of line are unnecessary.
How can I suppress it?
You can implement your own log formatter. Follow an example inside Boost.Test or even better just inherit from it and tweak what you need.
And is it possible to customize the final report too?
The same here. Implement custom report formatter and register it Gennadiy
participants (2)
-
Gennadiy Rozental
-
mik