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
-
identifier
property required method -
name
property required method -
interval
property required method -
status
property required method -
stats
property required method -
exception
property required method -
disabled
property required method -
hidden
property required method -
delegate
property required method -
– run:
required method -
– log
required method -
– reset
required method -
– cancel
required method -
– disabledCount
required method
Properties
delegate
Delegate for test.
@property (assign, nonatomic) id<GHTestDelegate> delegate
Declared In
GHTest.h
disabled
Whether test is disabled.
@property (assign, nonatomic, getter=isDisabled) BOOL disabled
Declared In
GHTest.h
exception
Exception that occurred.
@property (retain, nonatomic) NSException *exception
Declared In
GHTest.h
hidden
Whether test is hidden.
@property (assign, nonatomic, getter=isHidden) BOOL hidden
Declared In
GHTest.h
identifier
Unique identifier for test.
@property (readonly, nonatomic) NSString *identifier
Declared In
GHTest.h