Menu

#33 Funtion to retive siute and testscase name

1.8.0
open
nobody
None
5
2014-08-22
2004-04-16
Anonymous
No

during setup of a test case, I would like to query
CppUnit for the Name of the TestSuite and TestCase to
be used to open output files. How can I get this
information.

P.S. Class TestFactoryRegistry member
function '*makeTest()' has a return data type of Base
class 'Test', but all of the help and comment say it
should be 'TestCase'.

Thank You Very Much!
Dan Moschella

Discussion

  • Baptiste Lepilleur

    Logged In: YES
    user_id=196852

    To you mean that you are trying to get the name of the test
    in the setUp() method of your fixture ?

    Baptiste.

     
  • Nobody/Anonymous

    Logged In: NO

    I am looking for this information as well, not only in setUp but
    in tearDown.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.