[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unit test frameworks for gnustep objective c
From: |
David Chisnall |
Subject: |
Re: Unit test frameworks for gnustep objective c |
Date: |
Sat, 19 Aug 2017 10:05:59 +0100 |
On 19 Aug 2017, at 09:02, Edwin Ancaer <eancaer@gmail.com> wrote:
>
> Hello,
>
> I wanted to start a new project, and use unit testing. On the GNUstep
> website,--I found 4 frameworks for unit testing:
> • OCUnit, built in to Apple Xcode and open sourced. Version 27 (pretty
> old) has been tested with GNUstep
> • UnitKit, common for Mac OS X until OCUnit was built into Xcode. Now
> ported to Etoile.
> • ObjCUnit, a Mac OS X framework that has been ported to GNUstep.
> • TestKit, an inactive framework.
> On the mailing list, there was a discussion on unit testing in september
> 2013, so reasonably recent but inconclusive as to what is the easiest one to
> use (installation and usage).
>
> Or are they more or less equal and is it just a question of personnal
> preference?
All of them have a bunch of features that I’ve never used. UnitKit had about a
dozen lines of code to enumerate all classes, find all methods that started
with ‘test’ and then run them, and half a dozen more to enumerate the failures
and passes. I think OCUnit has similar functionality.
David