[ 
https://issues.jenkins-ci.org/browse/JENKINS-11217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163716#comment-163716
 ] 

Gregory Boissinot commented on JENKINS-11217:
---------------------------------------------

Unfortunately, pushing test results  into Jenkins is transforming these results 
into JUnit results.
JUnit only manages one failure element at the moment.

                
> Not all failure cases reported for UnitTest results
> ---------------------------------------------------
>
>                 Key: JENKINS-11217
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-11217
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xunit
>    Affects Versions: current
>            Reporter: Andy Bigos
>            Assignee: Gregory Boissinot
>            Priority: Minor
>
> Hi,
> I'm using UnitTest 1.4 format reporting and have test cases which can contain 
> multiple failure causes, the plugin only displays the first failure message 
> though. Sample XML is below. Ideally each failure case would be displayed on 
> a line, but concatenating them onto a single line would be OK. Is it possible 
> to fix this?
> Ta
> Andy
> {code}
> <?xml version="1.0" encoding="UTF-8" ?>
> <unittest-results failures="6" failedtests="3" tests="16" name="Samples" 
> time="708" >
> <test suite="Samples" name="Animation" time="33"/>
> <test suite="Samples" name="Audio" time="40"/>
> <test suite="Samples" name="Basic" time="32">
>     <failure message="FPS Metric: Got 223.391724 fps expected &gt;= 800.0 fps 
>  " />
> </test>
> <test suite="Samples" name="CreateScene" time="34">
>     <failure message="Error 329376 pixels differ (tolerance is 20)" />
>     <failure message="FPS Metric: Got 60.240929 fps expected &gt;= 800.0 fps  
> " />
> </test>
> ... SNIP ...
> <test suite="Samples" name="ThirdPersonGameTemplate" time="92">
>    <failure message="ERR_PROCESS_CRASHED  [exit(0)]" />
>    <failure message="FPS Metric: Got 0.0 fps expected &gt;= 60.0 fps  " />
> </test>
> </unittest-results>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to