Created
July 17, 2016 19:20
-
-
Save petermolnar-dev/33273c6966590b28c8cfe9e72b211901 to your computer and use it in GitHub Desktop.
Basic Unit test file structure
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> | |
#import "PMODownloadTaskQueues.h" | |
@interface PMODownloadTaskQueues_BasicTest : XCTestCase | |
@property (strong, nonatomic) PMODownloadTaskQueues *queues; | |
@end | |
@implementation PMODownloadTaskQueues_BasicTest | |
- (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