Unit testing frameworks
Unit testing frameworks
- Subject: Unit testing frameworks
- From: Christoffer Lerno <email@hidden>
- Date: Thu, 27 May 2004 15:21:32 +0800
Hi,
I'm looking for a unit testing framework to adopt for my projects. I
use jUnit for my java projects, but for obj-c the choice isn't obvious.
There is the OCUnit that most people seem to use, the ObjcUnit and some
others. I also stumbled over UnitKit
(
http://x180.net/Code/UnitKit/index.html) which seemed pretty good.
The reason I liked UnitKit was because it seemed to be easier to add
new tests with it, than with the others, but I have yet to try it out
and it is only in version 0.6.
Any ideas? OCUnit is ok, but UnitKit seemed a whole lot sleeker. Has
anyone played with both and wants to give an opinion? Maybe I'm
overlooking some other unit testing kit?
For me the most important thing is that it's easy to run and to create
tests. jUnit is not perfect but now that I have a template to create
new test-classes and I can use IDEA 4.0's integrated testing
functionality (which saved me from the work of having to group
test-classes together by hand) to run them, it is fairly smooth
sailing. OCUnit isn't quite there yet, but that's mostly because of
IDEA being a better IDE than XCode rather than any real defects in
OCUnit.
/Christoffer
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.