Hi,
I'm not sure how to use the testing framework works because I'm not sure how the semantics are meant to be.
In other testing frameworks a class can be under test and a test can have multiple test-cases.
1) I saw a TestCase in NS-3 can have child test-cases, by calling AddTestCase() -- can the 'parent' TestCase be seen as a Test-class i.e. comparable to a jUnit's Test-class?
2) In jUnit derivatives, a setup-method in a Test-class is called before each testCase method, however in the NS-3 test framework a setup method is only called once, can I thus say that a setup-method is comparable to teardownClass method in jUnit semantics?
3) Is there a way to have setup/teardown methods which are called before and after a collection of TestCase-s ? E.g. I have TestCase1, TestCase2 and TestCase3, and a common setup method, the common setup method would be called before each of the TestCase-s.
Thank you in advance for any comments,