Hi, thanks for CppUnit.
Currently, a failure is printed like:
1) test: testEquality (F) line: 11 test.cc
"libecc::bitset<30>("ABC") == libecc::bitset<30>("ABD")"
I'd to have more control about how this is printed
and would like to be able to override a virtual
method of test classes in order to change it.
My proposal is that the above is the default (although
I'd much prefer the default to say "test.cc:11" rather
than "11 test.cc" so that I can use copy&paste to
immedeately get where I want to be; "test.cc:11" is
the same format that is being used by gdb and libcwd).
Most logical is probably to write my own class, or to
derive my own class from a cppunit provided one, and
then being able to specify that this class/object
needs to be used to print the failures.
I leave the implementation details to you :).
Please let me know if this is already possible some how...
--
Carlo Wood <ca...@al...>
|