GHTest Protocol Reference
| Conforms to | NSCoding NSCopying NSObject |
| Declared in | GHTest.h |
Overview
The base interface for a runnable test.
A runnable with a unique identifier, display name, stats, timer, delegate, log and error handling.
Tasks
-
identifierproperty required method -
nameproperty required method -
intervalproperty required method -
statusproperty required method -
statsproperty required method -
exceptionproperty required method -
disabledproperty required method -
hiddenproperty required method -
delegateproperty required method -
– run:required method -
– logrequired method -
– resetrequired method -
– cancelrequired method -
– disabledCountrequired method
Properties
delegate
Delegate for test.
@property (assign, nonatomic) id<GHTestDelegate> delegateDeclared In
GHTest.hdisabled
Whether test is disabled.
@property (assign, nonatomic, getter=isDisabled) BOOL disabledDeclared In
GHTest.hexception
Exception that occurred.
@property (retain, nonatomic) NSException *exceptionDeclared In
GHTest.hhidden
Whether test is hidden.
@property (assign, nonatomic, getter=isHidden) BOOL hiddenDeclared In
GHTest.hidentifier
Unique identifier for test.
@property (readonly, nonatomic) NSString *identifierDeclared In
GHTest.h