Created
December 5, 2013 15:14
-
-
Save lukeredpath/7806983 to your computer and use it in GitHub Desktop.
A typical Objective-C test case...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <XCTest/XCTest.h> | |
@interface Tests : XCTestCase | |
@end | |
@implementation Tests | |
- (void)setUp | |
{ | |
[super setUp]; | |
// Put setup code here. This method is called before the invocation of each test method in the class. | |
} | |
- (void)tearDown | |
{ | |
// Put teardown code here. This method is called after the invocation of each test method in the class. | |
[super tearDown]; | |
} | |
- (void)testExample | |
{ | |
XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment