The status report of one dot per test method, with no indication of what Suite is running seems pretty lame, but I can't figure out a way to show the name of each Suite as it executes.
So there is a bug in the TextTestProgressListener. First you need to fix the bug, then you need to add the text:
** FIXING THE BUG **
In file src/cppunit/TextTestProgressListener.cpp
a) Add #include to <cppunit/Test.h> (this is so that you can access the test parameter in the functions)
b) on line 38, change the function name from done() to endTest( Test *test )
In file include/cppunit/TextTestProgressListener.h
c) on line 27, change function from done() to endTest( Test *test )
This will actually change the behavior so that each dot will be followed by a newline (even worse) but leave it if you want to make the changes in the next section.
*** DECORATING EACH TEST ***
In file src/cppunit/TextTestProgressListener.cpp on line 23, change from:
new: "running " + test->getName() + " ... ";
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.