#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.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks