Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Wish for extra anntoation of test case

  • Andris Pavenis
    Andris Pavenis

    One may often run the same code in testcase on different data (eg. placed in the array). Using CPPUNIT_ASSERT_* macros in this case only show test case name in case of the failure which does not identify which item from data array caused failure.

    It would be nice to have a possibility to have extra annotation inside test case to include also this missing information. Perhaps
    the simplest would be creating object of some class which temporarily appends annotation and its destructor removes.