Nat! bio photo

Nat!

Senior Mull.

Twitter RSS

Github

UnitKit

I haven't used any kits for testing my code yet. I usually have a bunch of little test projects lying around, that I use to test my code against. The idea of a test kit, that would help write me these tests, was something I wanted to try out.

I looked around various sites and by recommendation narrowed the number of candidates down to UnitKit and OCUnit. OCUnit seems to be far more popular and we even have a test helping framework called OCMock that is at least related by name.

Both Kits work pretty much the same, but I chose UnitKit because

  1. failed tests are warnings not errors
  2. more convenient macros, that make test writing even less typework
  3. very nice looking user guide included

It's not that there's anything wrong with OCUnit, but UnitKit is just a tad easier to use.