ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Dashorst <mart...@dashorst.dds.nl>
Subject junit-task and TestSetup decorator
Date Tue, 25 May 2004 15:25:40 GMT
Hi!

I've searched the web and the mailinglist for a rather simple problem, 
but couldn't find an answer.

Is it possible to use a junit.extensions.TestSetup around a fileset of 
junit testcases?
i.e.:

<batchtest>
    <decorate class="my.special.Decorator">
        <fileset dir="${src.tests}">
            <include name="**/decorated/*Test.java" />
        </fileset>
    </decorate>
    <fileset dir="${src.tests}">
        <include name="**/undecorated/*Test.java" />
    </fileset>
</batchtest>

At this point it is not possible to distinguish the testresults of a 
decorated TestSuite, because the JUnit task generates a single output 
file for the suite.

Is there another solution for this problem?

With regards,

Martijn Dashorst


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message