Le 22 mars 05, à 08:08, Yen-Ju Chen a écrit :

Maybe someone else can help you on etoile project (I forward this mail
to etoile maillist).
It looks O.K. besides the warning.
Just try to write a test bundle and use ukrun to test it.

Yen-Ju

On Mon, 21 Mar 2005 21:49:53 -0800, Sergei Gnezdov <[EMAIL PROTECTED]> wrote:

Thank you.  I find it very useful.  I just downloaded code from cvs.

I compiled it with GNU make.  Here is the output.  Can you confirm
that everything looks right?

Yes the compilation output is correct, warnings will be removed later (except for UKRunner.m:59: warning: multiple declarations for method `name' which are related to Objective-C GNU runtime).

I also attached output of what seems to be a test bundle.

Yes, correct too.

I did not find any GUI application.

UnitTests GUI application is located in /Etoile/Services/Developer/UnitTests … but be aware it's usable but a bit buggy, I have an improved version on my computer I need to commit in cvs.

I was able to find UnitTests application, but not UnitKit application.
UnitTests application started, but failed to execute a test.

There is no UnitKit application, UnitKit is just a framework with a command line tool "ukrun" to drive testing (and extra support for Xcode when you develop on Mac OS X) that's why UnitTests is currently developed. I will add a README file to UnitTests because it isn't obvious how to use it I admit.

UnitTests isn't able to drive compilation, then you need to edit your GNUmakefile in order to be able to produce a test bundle (Yen-Ju probably gave you an example), then in UnitTests Preferences window you click on (+) button to add a test bundle to "Default" Tests set for example : you need to enter now the full test bundle path (in "Test bundles" column) and eventually add a custom name for this new entry like in

http://www.dromasoftware.com/etoile/experimental/screenshots/ UnitTests3.tiff

In this screenshot, you have two test bundles to be run, they are referenced with following paths :
/Etoile/UnitKit/Source/TestSource/TestBundle/TestBundle.bundle
/cvs/Etoile work/Frameworks/ServicesBarKit/Source/libServicesBarKit.bundle

… otherwise "Tests set" notion is just here to allow possibility to have groups of test bundles you want to run together in one pass.

in /Etoile/Documentation/Documentation you can find a PDF documentation for UnitKit and how to write unit tests with it, but I haven't updated it for GNUstep version however. You can look at www.unitkit.org for more infos too.

Quentin.

--
Quentin Mathé
[EMAIL PROTECTED]


Répondre à