This month Michele Titolo from Prolific Interactive will be presenting her talk "Automated Testing with GHUnit and KIF". This talk will explain how we can all write better code; one of the easiest ways to do this is through testing. We'll cover two popular open source frameworks, GHUnit and KIF, both of which can be automated with a CI like Jenkins.
Michele is a Senior Mobile Engineer for Prolific Interactive, a product-focused mobile agency with offices in San Francisco and Brooklyn, NY. She enjoys debugging, refactoring, and finding elegant solutions to difficult problems. Outside of work, she is an organizer for Women Who Code SF, and teaches at Railsbridge Workshops.
Every month, we meet for some tech talks and free beer. iOS developers can present their newest project/library and then we'll have an hour of networking and drinks. Topics will stay specific to Objective-C and iOS. Open-source projects are highly encouraged, please reach out to Steve Derico if you are interested in speaking.
Thank you very much to our meetup sponsor this month, Crashlytics. Crashlytics makes it insanely easy to collect crash reports in your app. Integrating Crashlytics into your app takes less than 5 minutes and is completely free. Try it today: http://www.crashlytics.com
Please do your best to arrive before 8pm, we will start the talk at 8:05pm. The door will lock at 8pm because of building rules. We cannot hold the door open for everyone once the talk has started.
Michele has posted the talk along with a blog post here http://michele.io/blog/automate...![]()
March 19
It was a great talk. I think what I'd like to see is a very very simple app as the target for testing. Then I'd like Michele to start from zero and set the testing up for both OCUnit, then KIF, where we can see the workflow of both in action, and compare the operating results of both test environments. Thank you Michele!
March 7
Michele gave an excellent talk.
Still, after thinking about the things we test for and how to do that testing with OCUnit application tests vs. KIF tests, it seems to me that OCUnit wins out, particularly when used with tools like Specta and Expecta that vastly improve the syntax.
With a properly set up OCUnit application test suite, you can instantiate controllers and views and interact with the UI programmatically while also reading and writing model/controller/view state directly, which makes for simple, dynamic tests. Using KIF to do the same through accessibility labels seems much more limiting.
Clearly KIF has some unique features like screenshotting, but when I try to imagine using it on any of the apps I've built, it seems like the value for the effort required is very low.
March 7
Join or login to comment.