ios单元测试工程建立
4,编写GHUnit测试。向 Tests 工程中添加名为GHUnitSampleTest的 Objective C class。其内容如下: GHUnitSampleTest.h
#import <GHUnitIOS/GHUnit.h>
@interface GHUnitSampleTest: GHTestCase { } @end
GHUnitSampleTest.m
#import "GHUnitSampleTest.h" @implementation GHUnitSampleTest
- (void)testStrings