On Tue, Oct 20, 2009 at 2:03 PM, Richard Holden <
aciddeath@...> wrote:
>
>
>
> At work we are starting some greenfield development on a GUI for our
> product on Mac OS X. I'm usually the one to recommend TDD/Unit Test
> tools so I've been tasked with finding a framework. Anyone have any good
> recommendations. Typically we don't test gui and try to do most things
> through the controller so any general tdd tool recommendations on mac
> would be helpful also. I've looked at some of the builtin OCTest, and it
> doesn't seem to have some of the powerful assertions I'm used to from
> things like NUnit.
>
For unit testing/TDD there are at least these three: ObjcUnit,
TestKit, and OCUnit. IIRC, TestKit is popular for OS X because it
integrates well with Xcode. All of them are more or less JUnit clones
and none is as feature rich or mature as NUnit (Sorry.)
If you want to do end-to-end testing through the GUI I would suggest
talking to AppleScript through Objective-C or RubyCocoa though there
are any number of other ways.