开发者

Best practices for unit testing in IPhone [duplicate]

开发者 https://www.devze.com 2023-03-13 20:49 出处:网络
This question already has answers here: Closed 10 years ago. Possible Duplicate: How to run and debug un开发者_C百科it tests for an iPhone application
This question already has answers here: Closed 10 years ago.

Possible Duplicate:

How to run and debug un开发者_C百科it tests for an iPhone application

I want to unit test my IPhone application.

What tips and practices should be followed?


here is my favourite one

http://www.raywenderlich.com/3716/unit-testing-in-xcode-4-quick-start-guide

What is the best way to unit test Objective-C code?

http://paulsolt.com/2010/11/iphone-unit-testing-explained-part-1/

http://longweekendmobile.com/2011/02/23/tdd-best-practices-testing-in-ios4-with-ghunit-part-1/

http://longweekendmobile.com/2011/02/23/tdd-best-practices-testing-in-ios4-with-ghunit-part-1/


You might want to checkout Gorilla Logic’s FoneMonkey, an open source record / playback testing tool for iPhone applications: link for gorillalogic


Xcode 4 comes with everything you need: OCUnit for the unit tests - and Instrument has Automation which you might want to have a look at for GUI testing.

0

精彩评论

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