????????????unit testing???????????С??????????м????????????????????????У????????????????????????????У???????????????????????????????app????????????????????UI??檔??????д????????????????????????????????????????????
??????????????test case??????????????????????????????????????????????????????????????????????????????????????????????衢????????????????
???????????????????????????д????????????
?????????????????????????????????????????
????????????????д????????????????о??????
????Xcode??????OCUnit????????????Xcode5????????????????????????????????????????????е??????target???????????Xcode5???????????????????????????????target??
??????Xcode5????????????????????????й???????????????????????????????????????target??
??????????????? IOS-->Other---> Cocoa Touch Unit Testing Bundle
??????????OK??????????????????RUN???????????TEST?????TEST???п???????????????????????The scheme "??????" is not configured for testing. edit the scheme to enable testing??or cancel the action.?????????и????????ò???????У???????????????????????н????????Edit Scheme (??????Product->edit Scheme)
????????scheme???塣???Test???????+??????????scheme
???????????????CoredataDemoTest????ADD
?????????
??????Xcode5?в????????????XCTestCase????Xcode5???????????????SenTestCase??
????????????????????????????????‘test’??????磺- ??void??testLogin??
????????????????????- ??void??setUp??????????г????????- ??void??tearDown??????????????
???????в?????????
????command + u??
???????????а??????б??е?test??