ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: junit Questions
Date Wed, 28 Nov 2001 23:11:43 GMT

----- Original Message -----
From: "Scott Goldstein" <sdgoldst@MailAndNews.com>
> I have two questions regarding the junit tasks.
>
> 1.  When running a batch test, is it at all possible to print all of the
> results at the end of the test.  I'm interested in printing the number of
> successful tests and what errors/failures occurred.java (i.e. something
> similar to the results displayed when using junit.textui.TestRunner).

How about using <junitreport> to generate an HTML report?  That gives a
summary page with the stats you are looking for.

> 2.  I'm come across a number of occassions in version 1.4 when the junit
task
> froze.  The place it froze was not consistent.  Has anyone else
experienced
> this?  Is there an error log somewhere that I could look at?

Best thing to do when experiencing weird stuff with Ant is to use the -debug
switch and see if there is anything displayed in that output that can give
clues.  Are your tests doing anything out of the ordinary?

    Erik



--
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