Created
August 1, 2016 05:47
-
-
Save petermolnar-dev/cd6490ebc4941f59d19ee007e08eb137 to your computer and use it in GitHub Desktop.
UnitTestingExampleTests.m - initial version
This file contains 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 UnitTestingExampleTests : XCTestCase | |
@end | |
@implementation UnitTestingExampleTests | |
- (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 { | |
// This is an example of a functional test case. | |
// Use XCTAssert and related functions to verify your tests produce the correct results. | |
} | |
- (void)testPerformanceExample { | |
// This is an example of a performance test case. | |
[self measureBlock:^{ | |
// Put the code you want to measure the time of here. | |
}]; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment