OCUnit异步测试


1.  

- (void)testProvinces

{

   [self.registerDao getProvinces:^(NSDictionary *proDictionary, NSError *error) {

    NSDictionary   *dictionary = proDictionary;

      

   }];

    CFRunLoopRun();

}



2.https://github.com/touchableideas/XCTestAsync  大牛的杰作啊

你可能感兴趣的:(OCUnit异步测试)