Change By: Robin Lott (25/Jun/14 11:53 PM)
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:
{noformat}phpunit --log-junit=junit_dataprovider.xml{noformat}

The resulting xml looks like this:
{noformat}
<?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>{noformat}

In Jenkins the only result displayed is for the non-dataProvider test ('testStockOrder') above.
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