From: Sven R. <rei...@ma...> - 2002-12-17 17:36:29
|
On Tue, 17 Dec 2002, Andre Baresel wrote: > Is there any possibilty to debug a test ? > And how this can be done ? I'm not sure I understand the question. If you are referring to the unit tests: These tests are used to ensure that our code is relatively bug-free. As such, they should be so simple that they don't introduce new bugs (we don't want to introduce meta-tests...). The CppUnit library is sufficiently tested, although it crashes for me under certain circumstances. A unit test is just a method in a class, so you can use any debugger to inspect it. IMO, a better way would be to introduce enough CppUnit assertions to show you exactly what goes wrong. Hope this helps Sven -- Sven Reichard Dept. of Math. Sci. University of Delaware rei...@ma... |