XCode의 The Basic of Unit Test - 유닛테스트 기본앱등이에게 살충제를 뿌린다./일기는 일기장에 2017. 1. 9. 18:35
Writing Test MethodsYou add tests to a test class by writing test methods. A test method is an instance method of a test class that begins with the prefix test, takes no parameters, and returns void, for example, (void)testColorIsRed(). A test method exercises code in your project and, if that code does not produce the expected result, reports failures using a set of assertion APIs. For example,..