[Cppunit-devel] Test Runner with multiple outputters
Brought to you by:
blep
From: Allen U. <All...@ve...> - 2003-06-10 22:44:51
|
We have a custom testrunner which uses two separate outputters at the same time, one for the console another for the GUI. Originally this was written using a cvs version of cppunit from about 8 months ago. To get this working I made some changes to the outputters classes. I moved the TestResultCollecor* member to the outputter base class and added a getResultCollector() accessor method. This way I could create a TestResultCollector and then pass that into the constructor for the outputters. I would then use this TestResultCollector when creating the test runner. I've updated to the cvs top of tree and I noticed that the test runner/collector design has changed slightly. My question is this. What is the supported way to create a test runner and use multiple test outputters? We don't really want to have to maintain a separate version of cppunit. It would be nice to get the required changes merged into cppunit before 2.0. -allen |