You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Scott Symmank (JIRA)" <be...@incubator.apache.org> on 2005/02/22 03:15:48 UTC

[jira] Commented: (BEEHIVE-156) testRecorderCore.xml 'playback.tests' target deletes junit tests result data after create html report

     [ http://issues.apache.org/jira/browse/BEEHIVE-156?page=comments#action_59554 ]
     
Scott Symmank commented on BEEHIVE-156:
---------------------------------------

The TEST-*xml files are the actual results (data) from the JUnit Test Runner, and can be consumed by
the junitreport task.

The TESTS-*.xml files are the transformed xml reports *created* by the junitreport task. These
cannot be consumed by the junitreport task. 

    [java] create.junit.results:
     [java] [junitreport] the file D:\cc\dev\src\wlw\netui\build\TESTS-TestSuites.xml is not a valid testsuite XML document

By deleting TEST-*.xml results, you are deleting the
real test data, and preventing anyone else form 
aggregating the results; without changing stylesheets.

The testRecorder is the only one in beehive to do this. If you look at the BVT results, you can see 
that the rest of the test data is there, minus the
testRecorder results.

The 2 files are both created b/c the 'playback.tests'
target automatically calls generate.report which uses
the junitreport task.

I can't think of reason for deleting the TEST-*.xml file after generating the report; considering you delete them before you run the testRecorder tests.

I would ask that this bug be reconsidered.

> testRecorderCore.xml 'playback.tests' target deletes junit tests result data after create html report
> -----------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-156
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-156
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>  Environment: All
>     Reporter: Scott Symmank
>     Assignee: Scott Symmank
>     Priority: Minor
>  Attachments: patchfile.txt, testRecorderCore-PATCHED.xml, testRecorderCoreDIFF.htm
>
> The 'playback.tests' target in testRecorderCore.xml generates 
> a junit report after running its tests. After generating the 
> the junit html/xml reports, it deletes the test result data
> (TEST-*.xml).
> This step should not be necessary, and inhibits aggregating
> results of successive test runs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira