cutting-room-floor / ipad-deprecated

DEPRECATED
Other
0 stars 0 forks source link

Automated tests #2

Open willwhite opened 13 years ago

willwhite commented 13 years ago

Automated tests could help speed up development and keep regression low. Perhaps I could work on these to get myself more acquainted with the codebase. Justin, have you ever done tests on iOS applications?

incanus commented 13 years ago

I haven't, really (shamefully). I'd love to get onboard with it. If that's something you want to explore, that would be awesome.

willwhite commented 13 years ago

I'm thinking this is a pretty high priority as we start to think about changing a lot of code. Something to talk about when you're in DC, @incanus.

http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/iphone_development/135-Unit_Testing_Applications/unit_testing_applications.html

incanus commented 13 years ago

Yeah, good call. We can get some stuff setup and go into some of the refactors we've been talking (compositing, layer UI) with some good tests.

incanus commented 13 years ago

Perhaps useful here: https://github.com/gabriel/gh-unit

incanus commented 13 years ago

From Tom -- looks great for this: http://corner.squareup.com/2011/07/ios-integration-testing.html

incanus commented 13 years ago

Ok, this has been started in a new branch. I may yet get to gh-unit & the integration testing mentioned above, but this does the trick for now using the OCUnit default that comes with Xcode.

Just need to keep adding tests, now...