Re: OCUnit vs OBJCUnit
Re: OCUnit vs OBJCUnit
- Subject: Re: OCUnit vs OBJCUnit
- From: Jiva DeVoe <email@hidden>
- Date: Wed, 25 Jun 2003 13:12:28 -0700
I've been using unit test frameworks for about three or four years. I
have used both ones written by other people, and I have written a
couple myself. I have used both OCUnit and ObjCUnit, and have been
using ObjCUnit for about a year now.
They both have their pluses and minuses. Specifically ObjCUnit has the
best Project builder integration. However on the other hand something
that is definitely very lacking in ObjCUnit is the ability to have the
line number where the failure occurred as part of your failure Report.
OCUnit on the other hand has the ability to have the line number print,
but its project builder integration is somewhat lacking.
I don't recall if the documentation for OCUnit was any better but I
agree that the documentation for ObjCUnit is pretty poor. Additionally
it almost seems as if ObjCUnit is no longer being maintained though I
can't say for sure. It may be just that at the moment ObjCUnit serves
the need of every one who was maintaining it and therefore they just
haven't felt the need to release a new version.
It looks like OCUnit has been receiving some updates lately, so I'm not
sure if its Project builder integration has improved. However, with
regards to ObjCUnit and printing line numbers I think that I figured
out an easy way to do this with a compiler macro. If you're interested
in the macro let me know and maybe we can submit it back to the
maintainers to have it integrated into the main code.
Feel free to drop me a line if you have any other questions.
Thanks,
Jiva
--
jiva at devoesquared.com
http://www.devoesquared.com
_______________________________________________
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.