Skip to content

Instantly share code, notes, and snippets.

@petermolnar-dev
Created August 1, 2016 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petermolnar-dev/cd6490ebc4941f59d19ee007e08eb137 to your computer and use it in GitHub Desktop.
Save petermolnar-dev/cd6490ebc4941f59d19ee007e08eb137 to your computer and use it in GitHub Desktop.
UnitTestingExampleTests.m - initial version
#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