Issue Type: Bug Bug
Assignee: Gregory Boissinot
Components: xunit
Created: 25/Jun/14 2:07 AM
Description:

The results for tests executed using dataProvider supplied values are not displayed in the xUnit summary of test results.

The command used to execute the tests is:

phpunit --log-junit=junit_dataprovider.xml

The resulting xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
  <testsuites>
    <testsuite name="" tests="3" assertions="143" failures="0" errors="0" time="137.034996">
        <testsuite name="functional" tests="3" assertions="143" failures="0" errors="0" time="137.034996">
          <testsuite name="StockOrderTest" file="/var/www/web.vendhq.localdomain/current/test/phpunit/functional/consignment/StockOrderTest.php" tests="3" assertions="143" failures="0" errors="0" time="137.034996">
              <testsuite name="StockOrderTest::testDeleteLineItemFromExistingStockOrder" tests="2" assertions="85" failures="0" errors="0" time="108.644933">
                  <testcase name="testDeleteLineItemFromExistingStockOrder with data set #0" assertions="43" time="67.563011"/>
                  <testcase name="testDeleteLineItemFromExistingStockOrder with data set #1" assertions="42" time="41.081922"/>
              </testsuite>
             <testcase name="testStockOrder" class="StockOrderTest" file="/var/www/web.vendhq.localdomain/current/test/phpunit/functional/consignment/StockOrderTest.php" line="52" assertions="58" time="28.390063"/>
           </testsuite>
       </testsuite>
     </testsuite>
  </testsuites>

In Jenkins the only result displayed is for the non-dataProvider test ('testStockOrder') above.

Environment: PHP 5.4.29-3
PHPUnit 3.7.32
Jenkins 1.555
xUnit plugin 1.88
Project: Jenkins
Priority: Major Major
Reporter: Robin Lott
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to