Let’s integrate the tests with Jenkins<br />I hit another wall:<br />There is no good way to kick off the tests from command line and integrate my results to Jenkins!<br />
Then I found KIF…<br />KIF – Keep It Functional<br />By Square (Eric Firestone) -- https://github.com/square/KIF<br />Blog: http://corner.squareup.com/2011/07/ios-integration-testing.html<br />Couple linking errors later…<br />
YEAH!<br />It actually works from end to end with simple enough setup.<br />With instructions to start the test in command line<br />And quits after the test finish running.<br />And output results to the console.<br />Results are not in a CI-ready format but THAT’S OK IF THAT’S THE ONLY PROBLEM!<br />
Final Solution<br />KIF<br />Add accessibilityLabel to textField, Button, and View<br />isAccessibilityElement = YES<br />Symbiote from Frank to inspect the labels on app<br />WaxSim to launch app from command line<br />Modify the KIF log to output test results that can be turned into standard junit result format<br />
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.