29 lines
759 B
Objective-C
29 lines
759 B
Objective-C
#import <XCTest/XCTest.h>
|
|
#import <Specta/XCTestCase+Specta.h>
|
|
|
|
@class
|
|
SPTTestSuite
|
|
, SPTCompiledExample
|
|
;
|
|
|
|
@interface SPTSpec : XCTestCase
|
|
|
|
@property (strong) XCTestCaseRun *spt_run;
|
|
@property (nonatomic) BOOL spt_pending;
|
|
@property (nonatomic) BOOL spt_skipped;
|
|
|
|
+ (BOOL)spt_isDisabled;
|
|
+ (void)spt_setDisabled:(BOOL)disabled;
|
|
+ (BOOL)spt_focusedExamplesExist;
|
|
+ (SEL)spt_convertToTestMethod:(SPTCompiledExample *)example;
|
|
+ (SPTTestSuite *)spt_testSuite;
|
|
+ (void)spt_setCurrentTestSuite;
|
|
+ (void)spt_unsetCurrentTestSuite;
|
|
+ (void)spt_setCurrentTestSuiteFileName:(NSString *)fileName lineNumber:(NSUInteger)lineNumber;
|
|
|
|
- (void)spec;
|
|
- (BOOL)spt_shouldRunExample:(SPTCompiledExample *)example;
|
|
- (void)spt_runExample:(SPTCompiledExample *)example;
|
|
|
|
@end
|