- Inherits From:
- NSObject
- Declared In:
- SenTest.h
Number of test casesTest's name
- - testCaseCount
- - isEmpty
Creating test runs
- - name
Pre- and post-test methods
- - testRunClass
- - performTest:
- - run
- - setUp
- - tearDown
- (BOOL)isEmpty
Returns YES if testCaseCount is 0.
- (NSString *)name
Must overriden by subclasses.
- (void)performTest:(SenTestRun *)aRun
The method through which test are executed. Must overriden by subclasses.
- (SenTestRun *)run
Creates a SenTestRun of the testRunClass and pass it as a parameter to the performTest method.
- (void)setUp
Sets up the fixture. This method is called before a test is executed.
- (void)tearDown
Tears down the fixture. This method is called after a test is executed.
- (unsigned int)testCaseCount
Must overriden by subclasses.
- (Class)testRunClass
The SenTestRun subclass that will be created when a test is run to hold the test's results. Must overriden by subclasses.