SenTestRun


Inherits From:
NSObject
Conforms To:
NSCoding
Declared In:
SenTestRun.h


Class Description

A TestResult collects the results of executing a test. The test framework distinguishes between failures which are anticipated and checked for problems like a test that failed; and unexpected failures which are unforeseen (catastrophic) problems, like an exception.


Instance Variables

NSTimeInterval startDate;
NSTimeInterval stopDate;
SenTest * test;

startDateNo description.
stopDateNo description.
testNo description.


Method Types

+ testRunWithTest:
- initWithTest:
- test
- start
- stop
- startDate
- stopDate
- totalDuration
- testDuration
- testCaseCount
- failureCount
- unexpectedExceptionCount
- totalFailureCount
- hasSucceeded


Class Methods

testRunWithTest:

+ (id)testRunWithTest:(SenTest *)aTest

No method description.


Instance Methods

failureCount

- (unsigned int)failureCount

No method description.


hasSucceeded

- (BOOL)hasSucceeded

No method description.


initWithTest:

- (id)initWithTest:(SenTest *)aTest

No method description.


start

- (void)start

No method description.


startDate

- (NSDate *)startDate

No method description.


stop

- (void)stop

No method description.


stopDate

- (NSDate *)stopDate

No method description.


test

- (SenTest *)test

No method description.


testCaseCount

- (unsigned int)testCaseCount

No method description.


testDuration

- (NSTimeInterval)testDuration

Time spent in test cases


totalDuration

- (NSTimeInterval)totalDuration

Total elapsed time


totalFailureCount

- (unsigned int)totalFailureCount

No method description.


unexpectedExceptionCount

- (unsigned int)unexpectedExceptionCount

No method description.


Version 1.5 Copyright ©2001 by Sen:te (Sente SA). All Rights Reserved.