Test Runner with multiple outputters
Allen Unueco <[email protected]> Tue, 10 Jun 2003 15:44:42 -0700
| Newsgroups | gmane.comp.lib.cppunit.devel |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.