运行 CppUnit 测试时,xml 或文本文件的输出中有点。
freopen("UnitTest-Results.xml", "a", stdout);
CppUnit::TextUi::TestRunner runner;
runner.addTest(pSuite);
// Change the default outputter to a Text Outputter.
runner.setOutputter(new CppUnit::XmlOutputter(&runner.result(), std::cout));
输出是:
.........................
OK (25 tests)
如何选择不打印输出文件中的点?
谢谢