views:

644

answers:

4

Hi EveryOne,

I am looking for any tool or approach using which I can do UI unit test for iPhone application, I am aware of SenTestCase framework however which is used to do that testing for code I am looking for UI unit testing.

Any suggestion will be great help to me.

Thanks in advance.

Regards, Satish.

+1  A: 

You can use OCUnit/SenTest to do unit tests in the UI as well as on the other code - this blog post from Chris Hanson is about Cocoa UI unit testing but the same principles apply to Cocoa Touch.

Graham Lee
Thank you Graham Lee It seems very good to me, thank you very much.
Satish Kumar J
+2  A: 

Check out UISpec http://code.google.com/p/uispec/

It's an open source ui testing framework being developed for the iphone.

Cheers!

Brian
A: 

Hi, Satish.

If you're willing to build a special testing target for your app, you can use the Ruby-based Cucumber framework to drive an iPhone GUI remotely: http://www.slideshare.net/undees/iphone-meets-cucumber

--Ian

undees
A: 

Google has a pretty cool set of tools as well.

http://code.google.com/p/google-toolbox-for-mac/wiki/iPhoneUnitTesting

logancautrell