tap2junit query
Tennis Smith <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <e84cff280907261426i28d4e9a8jc8b163add59b5fad__48998.2348670766$1249440841$gmane$org@mail.gmail.com> |
Hi Graham, I'm using your excellent tap2junit tool to try and convert some test output. I'm using ant (version 1.7.1) and running 'junitreport' on the converted output. I'm hoping you can understand why junitreport says this: [junitreport] the file /opt/cruisecontrol/projects/itinerator/results/AccountContactPeerTest.16589.xml is not a valid testsuite XML document The original TAP document was: # AccountContactPeerTest ok 1 - [email protected] maps to gmail2 provider 1..1 Looks like everything went fine. The xml doc created by tap2junit contains: <testsuites> <testsuite failures="0" errors="0" tests="1" name="_opt_cruisecontrol_projects_itinerator_results_AccountContactPeerTest_3469"> <testcase name="1 - [email protected] maps to gmail2 provider"></testcase> <system-out><![CDATA[# AccountContactPeerTest ok 1 - [email protected] maps to gmail2 provider 1..1 Looks like everything went fine. ]]></system-out> <system-err></system-err> </testsuite> </testsuites> Both look fine to me, but can you see anything obviously broken here?? I've attached both files as well. Thanks, -Tennis ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
AccountContactPeerTest.3469.txt
(text/plain, 112 B)
# AccountContactPeerTest ok 1 - [email protected] maps to gmail2 provider 1..1 Looks like everything went fine.
AccountContactPeerTest.3469.xml
(text/xml, 472 B)
<testsuites>
<testsuite failures="0"
errors="0"
tests="1"
name="_opt_cruisecontrol_projects_itinerator_results_AccountContactPeerTest_3469">
<testcase name="1 - [email protected] maps to gmail2 provider"></testcase>
<system-out><![CDATA[# AccountContactPeerTest
ok 1 - [email protected] maps to gmail2 provider
1..1
Looks like everything went fine.
]]></system-out>
<system-err></system-err>
</testsuite>
</testsuites>