Duncan Fletcher

Show:

What's happening?

  • CPPUNIT_ASSERT change to report line number of exception

    With the current implementation of CPPUNIT_ASSERT, if the expression throws an exception then the line number of the assertion is lost. Means you have to break out the debugger and step through to work out which unit test line is throwing the exception. CPPUNIT_ASSERT_NO_THROW doesn't quite cut it because although it'll catch the exception and report it nicely, it doesn't care whether the...

    2009-07-03 02:39:18 UTC in CppUnit - C++ port of JUnit

About Me

  • 2009-06-07 (5 months ago)
  • 2528352
  • fletched (My Site)
  • Duncan Fletcher

Send me a message