Daniel,

What output are you missing ?

I changed the way the nunit2 task is working with regards to the output
results xml file, if you want the output result you need to specify a
formatter for the output format you want.

when you want the output of the tests to be available in xml format
(persisted to a file), you use :

            <nunit2>
                <formatter type="Xml" usefile="true" extension=".xml"
outputdir="${build.dir}/results" />
                <test>
                    <assemblies>
                        <includes name="testassembly.dll" />
                    </assemblies>
                </test>
            </nunit2>

when you want output in plain text format, you use :

            <nunit2>
                <formatter type="Plain" />
                <test>
                    <assemblies>
                        <includes name="testassembly.dll" />
                    </assemblies>
                </test>
            </nunit2>

However, I think you may have encountered another issue... I'll do some
tests with NUnit 2.1 later today ...

Gert

----- Original Message -----
From: "Daniel Granath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 09, 2003 5:55 PM
Subject: [Nant-users] NUnit2 and the latest nant (cvs and nightlies)


> Hi,
>
> I have gotten the latest stuff from cvs which includes the new Nunit2
> 2.1.4 integration, and something seems to have gone wrong.
> Where previously I specified a NUnit2/Test/Testname which took 20
> seconds to run, the same testname now goes on indefinitely with no
> output whatsoever. I also tried it with the latest nightly, same result.
> Is the ability to specify which test to run in an assembly broken? Also,
> what's with the missing output?
> Any clues?
>
> --
> Daniel
>



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to