开发者

automated unit test case for iphone

开发者 https://www.devze.com 2023-02-01 13:07 出处:网络
for last three days i am tr开发者_如何转开发ying to create unit test case using OcUnit. but not succeed yet . every time i google i get new tutorial with different configuration. and apple tutorial is

for last three days i am tr开发者_如何转开发ying to create unit test case using OcUnit. but not succeed yet . every time i google i get new tutorial with different configuration. and apple tutorial is the only which worked in xcode 3.2.5 . plz if any one know step to create logic test as well as application test please let me know .


Apple's approach forces you to make an artificial and unnecessary distinction between "logic tests" and "application tests". It also makes debugging a real pain.

For iOS unit testing, try GTM or GHUnit instead.

Update: Xcode 4 changes everything. I now use the built-in OCUnit for iOS unit tests. See Xcode Unit Testing: The Good, the Bad, the Ugly


i use GHUnit, is a test framework for Objective-C, you can follow the instruction on the GHUnit page or see the video TDD for iPhone Development , GHUnit it's easy to use and very helpful.

hope this help.

0

精彩评论

暂无评论...
验证码 换一张
取 消