© 2009-2023 Strange Loop | Privacy Policy
Unit testing is an important part of software development, and many frameworks exist to support it on iOS.
In this talk, I'll give an overview of three unit testing frameworks ("SenTestingKit":http://developer.apple.com/library/ios/#samplecode/iPhoneUnitTests/Introduction/Intro.html, "Google Toolbox for Mac":http://code.google.com/p/google-toolbox-for-mac/wiki/iPhoneUnitTesting, and "GHUnit":http://gabriel.github.com/gh-unit/), two UI interaction frameworks ("UISpec":http://code.google.com/p/uispec/, "UIAutomation":http://developer.apple.com/library/ios/#documentation/DeveloperTools/Reference/UIAutomationRef/Introduction/Introduction.html), and a mocking framework ("OCMock":http://www.mulle-kybernetik.com/software/OCMock/).
I'll write tests for a simple application using all frameworks and evaluate them based on: * Ease of use for writing tests * Error reporting * Debugging * Integration with XCode * Integration with the command line
I've been a full-time iOS developer for 2 years, and I've built and delivered 3 iOS apps for major enterprises. I started learning iOS when the iOS 2.0 SDK was announced in July 2008. I've dabbled in Android and webOS development and run "STL Mobile Dev":https://sites.google.com/site/stlmobiledev/ St. Louis' Mobile Developers Group. Before my adventures in mobile development, I was an awesome Java EE and Eclipse RCP developer. During the spring, I play "Hurling":http://stlgac.com/.