You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/02/23 08:06:37 UTC
[jira] Updated: (SUREFIRE-52) XML Reports include testcases from
previous tests
[ http://jira.codehaus.org/browse/SUREFIRE-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated SUREFIRE-52:
---------------------------------
Fix Version/s: (was: 2.3)
2.4
> XML Reports include testcases from previous tests
> -------------------------------------------------
>
> Key: SUREFIRE-52
> URL: http://jira.codehaus.org/browse/SUREFIRE-52
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.0 (2.2 plugin)
> Reporter: bin zhu
> Priority: Minor
> Fix For: 2.4
>
> Attachments: patch.txt
>
>
> to reproduce
> 1. create the following JUnit tests:
> public class TestA extends TestCase {
> public void test1() {
> }
> }
> public class TestB extends TestCase {
> public void test2() {
> }
> 2. run 'mvn clean install'
> note that in TEST-TestB.xml includes testcase results from test1 and test2, even though TestB only has test2()
> <testsuite errors="0" skipped="0" tests="1" time="0" failures="0" name="TestB">
> ...
> <testcase time="0" name="test1"/>
> <testcase time="0" name="test2"/>
> </testsuite>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira