• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Unit testing frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Unit testing frameworks
      • From: Marco Scheurer <email@hidden>
  • Prev by Date: Re: Problem with NSOutlineView outlineView:willDisplayCell:forTableColumn:item: delegate method
  • Next by Date: Retaining NSInputStream working with NSStream
  • Previous by thread: Re: Drag and stupid Drop in NSTableView
  • Next by thread: Re: Unit testing frameworks
  • Index(es):
    • Date
    • Thread