You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Carsten Karkola <ck...@mms-dresden.de> on 2006/07/12 10:49:56 UTC
surefire-plugin and surefire-reports
We have different tests in the test/java dir and the surefire-report-plugin is
specified in the pom.xml:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
</plugins>
</reporting>
If I execute mvn site, the test cases in the target/surfire-reports/TEST*.xml
files are inserted multiple times:
TEST-a.xml contains:
<testcase time="78.041" name="testCreateOffer"/>
<testcase time="2.39" name="testKeywordSearch"/>
<testcase time="0.421" name="testDeleteOffers"/>
and TEST-b.xml contains again:
<testcase time="78.041" name="testCreateOffer"/>
<testcase time="2.39" name="testKeywordSearch"/>
<testcase time="0.421" name="testDeleteOffers"/>
and the new entry
<testcase time="0.101" name="testDbReportExtended">
We have more than 400 tests and the list gets longer and longer due to the
repeated entries for every test case. Is there some misconfiguration or is
this a bug?
Regards, carsten
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE : surefire-plugin and surefire-reports
Posted by Carsten Karkola <ck...@mms-dresden.de>.
Thank you very much, I've inserted the line
<forkMode>always</forkMode>
as suggested in the Bug Comments and the test results are shown in the
right way.
Regards, Carsten
On 12 Jul 2006 at 12:03, Olivier Lamy wrote:
> Look at http://jira.codehaus.org/browse/MSUREFIRE-114.
>
> --
> Olivier
>
> -----Message d'origine-----
> De : Carsten Karkola [mailto:ckk@mms-dresden.de]
> Envoyé : mercredi 12 juillet 2006 10:50
> À : users@maven.apache.org
> Objet : surefire-plugin and surefire-reports
>
>
> We have different tests in the test/java dir and the
> surefire-report-plugin is
> specified in the pom.xml:
>
> <reporting>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-report-plugin</artifactId>
> </plugin>
> </plugins>
> </reporting>
>
> If I execute mvn site, the test cases in the
> target/surfire-reports/TEST*.xml
> files are inserted multiple times:
>
> TEST-a.xml contains:
> <testcase time="78.041" name="testCreateOffer"/>
> <testcase time="2.39" name="testKeywordSearch"/>
> <testcase time="0.421" name="testDeleteOffers"/>
>
> and TEST-b.xml contains again:
> <testcase time="78.041" name="testCreateOffer"/>
> <testcase time="2.39" name="testKeywordSearch"/>
> <testcase time="0.421" name="testDeleteOffers"/>
> and the new entry
> <testcase time="0.101" name="testDbReportExtended">
>
> We have more than 400 tests and the list gets longer and longer due to
> the
> repeated entries for every test case. Is there some misconfiguration or
> is
> this a bug?
>
> Regards, carsten
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE : surefire-plugin and surefire-reports
Posted by Olivier Lamy <ol...@accor.com>.
Look at http://jira.codehaus.org/browse/MSUREFIRE-114.
--
Olivier
-----Message d'origine-----
De : Carsten Karkola [mailto:ckk@mms-dresden.de]
Envoyé : mercredi 12 juillet 2006 10:50
À : users@maven.apache.org
Objet : surefire-plugin and surefire-reports
We have different tests in the test/java dir and the
surefire-report-plugin is
specified in the pom.xml:
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
</plugins>
</reporting>
If I execute mvn site, the test cases in the
target/surfire-reports/TEST*.xml
files are inserted multiple times:
TEST-a.xml contains:
<testcase time="78.041" name="testCreateOffer"/>
<testcase time="2.39" name="testKeywordSearch"/>
<testcase time="0.421" name="testDeleteOffers"/>
and TEST-b.xml contains again:
<testcase time="78.041" name="testCreateOffer"/>
<testcase time="2.39" name="testKeywordSearch"/>
<testcase time="0.421" name="testDeleteOffers"/>
and the new entry
<testcase time="0.101" name="testDbReportExtended">
We have more than 400 tests and the list gets longer and longer due to
the
repeated entries for every test case. Is there some misconfiguration or
is
this a bug?
Regards, carsten
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org