Hi Guys,

History of question is:
    We have own system of tests for our C++ product,
    which is in develop more of 10 years.

    Now we consider plug this under Jenkins, so we try
    to generated minimal required XML file in JUNIT format.

There was hope that may be, we can put into XML file only list of failed
tests, and avoid list successful tests. Something like this:

=====================================================
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="All Tests" tests="12345" failures="3" errors="0"
time="350">
    <testcase name="Addition" classname="" time="100">
        <failure message="Value of: add(1, 1); Actual: 1;Expected: 2"
type=""/>
        <failure message="Value of: sin(0); Actual: 1;Expected: 0" type=""/>
    </testcase>
   <testcase name="Zip Compresion" classname="" time="250">
       <failure message="Value of: zipme(); Actual: 1;Expected: 2" type=""/>
   </testcase>
</testsuites>   
=====================================================


But this not works ....

Jenkins simply ignores attributes of line:

<testsuites name="All Tests" tests="12345" failures="3" errors="0"
time="350">


And simply try parse all existed tests in XML, and count self failed and
successful tests.

Why is this?    
 


Above XML file is correct from any point of view.
And it is minimal to make Jenkins record results ...

And lets assume, that for our team it is okay to see only list of failed
tests... No many sense to see 12500 successful tests on HTML pages of
Jenkins. We have for this own log file.



-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to