ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ot...@ivillage.com
Subject How do I get less verbose output from junit?
Date Tue, 27 Nov 2001 22:00:14 GMT
Hello,

I saw somewhere that it is possible to use Ant and Junit and get output that looks like this:
running com.example.Test
.........................................
....................
Time: 47.249

OK (61 tests)


However, I get a very different output when I use the following:

        <junit printsummary="yes" haltonfailure="no" fork="${junit.fork}"
	       timeout="${junit.timeout}">
            <classpath refid="ut.classpath"/>
            <formatter type="plain" usefile="false"/>
            <test name="${test}"/>
        </junit>

The output I get looks more like this:

    [junit] Running com.example.Test
    [junit] Tests run: 61, Failures: 0, Errors: 0, Time elapsed: 47.861 sec
    [junit] Testsuite: com.example.Test
    [junit] Tests run: 61, Failures: 0, Errors: 0, Time elapsed: 47.861 sec
    [junit] 
    [junit] Testcase: xxxx
...
...

BUILD SUCCESSFUL


How do I get that simple, less verbose output like the one at the beginning of this message?

Thanks,
Otis

_________________________________________________________________
iVillage.com: Solutions for Your Life 
Check out the most exciting women's community on the Web   
http://www.ivillage.com

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


Mime
View raw message