discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test driven development for GNUstep


From: Lars Sonchocky-Helldorf
Subject: Re: test driven development for GNUstep
Date: Fri, 6 Feb 2004 01:34:23 +0100


Am Donnerstag, 05.02.04 um 23:53 Uhr schrieb Adam Fedor:



-----Original Message-----
From: Alex Perez
On Mon, 2 Feb 2004, Adam Fedor wrote:
The only disatvantage is that we already have 2000 or so
tests written with guile...

Maybe we can all volunteer to rewrite a few of the more
important ones
first?


Sure. In fact, there are a set of tests that are run on every class. Many other tests are very similar, so perhaps someone could hack together a simple parser to translate guile to Objective-C?

We should probably settle on what kind of testing framework we will use first...

From the ease of use I'd prefer OCunit but I my knowledge is not funded enough to know if there would be technical obstacles that would prevent us from using it (that is for testing GNUstep classes itself not work based on GNUstep).

If OCunit is not usable for this purpose I would strongly recommend using DejaGnu since it is widely proven to work. For instance GCC uses it. You can simply run it as part of the make process (make -k check). It even has the capabilities to send the test results somewhere. I haven't written a DejaGnu test myself yet but since all those GCC devs use it regularly it surely doesn't require you to have a PhD - and there are already some ObjC tests to learn from.

greetings, Lars





reply via email to

[Prev in Thread] Current Thread [Next in Thread]