Posts

Showing posts from May, 2010

SimpleUnitTest - Easy iPhone and iPad Unit Test

Image
SimpleUnit(Test) for iPhone/iPad test driven development, fast. Notes: - Problem, you have a relatively large codebase, that isn't unit tested and you need a really fast way to get test driven development. - I love Python unit tests, because you drop in a folder (pkg), create a module and import yo junks. Bam, unit test heaven. I looked around on the net for something, similar (for about an hour) and found nothing. - This was done quick and dirty, to get test driven development fast and zero fuss - It works without any scripts, build settings changes or target touching (see example proj) - 100% safe (with cond. compilation) and incredibly easy to institute - Drop in the folder, add two lines of code (import and tests runner call), and start writing unit tests! - It also allows you to have a near native/real world environment. - I also wanted a unit test system that would let my app start to setup the database, app vars, etc. - Keep in