maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Dashorst <>
Subject Re: Newbie: Generate just the junit report
Date Mon, 18 Oct 2004 21:46:20 GMT

There are several possibilities:
 1. for your normal work, use an IDE like Eclipse or Netbeans, and use 
their integrated JUnit shell for testing, this speeds up testing 
 2. strip your <reports> section to only show 
<reports><report>maven-junit-report-plugin</report></reports> and
'maven site', and only just before your true commit, turn all your 
needed reports.
 3. use 'maven test junit-report:report xdoc'

I'm pretty happy with using 1 & 2.


Ylan Segal wrote:

>I am a newbie, so please bear with me. 
>I am playing around with maven and I see that the "site:generate" goal
>creates all the reports, and I think it is great stuff. However, on
>day to day coding, I often find myself running junit test very
>frequently. My question is: How can I generate the junit html report,
>without generating the whole site (to save time)?.
>I know I can just run the junit test with "test", but the info printed
>out does not give me a line number where the test failed. And if I
>create the xml report with "junit-report:report" it creates the report
>with the info I want in xml format, but its not very human-readable.
>How do I get from the xml report to the html one?
>In ant, I used the "junitreport" task. How can I accomplish this with maven?
>Thanks everyone for the help, 
>Ylan Segal.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message