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!
0 · 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.
0 · March 7