https://developer.apple.com/library/prerelease/ios/documentation/DeveloperTools/Conceptual/testing_with_xcode/Introduction/Introduction.html


Testing in Xcode 6
Tools
iOS, OS X
Testing in Xcode 6
Session 414
Play
 
Unit testing is an essential tool to consistently verify your code works correctly. Learn how Xcode 6 takes this to the next level with support for performance testing, baselining, and integration with Xcode bots to continually monitor your performance over time and devices.
Download: HD | SD | PDF


  1. command u로 실행하거나
  2. side bar에서 하나씩 버튼 눌러서 실행하거나
  3. command로 실행


demo를 objective c로 보여주네. swift를 기대했는데..


OCUnit은 Xcode 5.1부터 deprecated됐다.


Asynchronous testing


test case 1개씩 profiling하는 것도 쓸만 하겠다.


measureBlock은 여러 번 실행하고 실행시간 평균과 standard deviation 등을 계산해 주나 보다.



Testing in Xcode 5ToolsiOS, OS X
Testing in Xcode 5Session 409Play Unit testing is an essential tool to consistently verify that your code works correctly. Learn how Xcode 5 makes it dramatically easier to create, edit, execute, and understand your tests. Download: HD | SD     | PDF


unit testing 얘기부터 시작


XCTest가 Xcode5부터 나왔나보네.

Test Navigator 등은 이 때 더 잘 설명해줬었다.


xcode server에서 test실행하는 것을 local xcode에서 할 수 있는 건가





by 언제나19 2014. 6. 25. 14:48
| 1 |