TestCase
IntroductionModels a certain configuration of the system being tested. Member Functions
acceptTODO. on accept( aVisitor) countAssertionIncrements the count of successful assertions in the current test case. on countAssertion() DiscussionEach assertion must call this handler after checking its assertion. fullNameReturns the full name of this test. on fullName() numberOfAssertionsReturns the count of assertions run successfully in the current test case. on numberOfAssertions() runMakes sure that the user test script has a run method. on run runCaseRuns a test case. on runCase() Return ValueNothing. DiscussionEnsures that tearDown() is executed, even if an error was raised. Errors are passed to the caller. setUpMay be implemented by a subclass. on setUp() tearDownMay be implemented by a subclass. on tearDown() Member Data
nAssertionsMaintains the count of non-failing assertions in the current test case. property nAssertions : 0 |