2 phpunit --log-junit php://stdout DataProviderTest ../_files/DataProviderTest.php
5 $_SERVER['argv'][1] = '--no-configuration';
6 $_SERVER['argv'][2] = '--log-junit';
7 $_SERVER['argv'][3] = 'php://stdout';
8 $_SERVER['argv'][4] = 'DataProviderTest';
9 $_SERVER['argv'][5] = dirname(dirname(__FILE__)) . '/_files/DataProviderTest.php';
11 require __DIR__ . '/../bootstrap.php';
12 PHPUnit_TextUI_Command::main();
15 PHPUnit %s by Sebastian Bergmann and contributors.
17 ..F.<?xml version="1.0" encoding="UTF-8"?>
19 <testsuite name="DataProviderTest" file="%sDataProviderTest.php" tests="4" assertions="4" failures="1" errors="0" time="%f">
20 <testsuite name="DataProviderTest::testAdd" tests="4" assertions="4" failures="1" errors="0" time="%f">
21 <testcase name="testAdd with data set #0" assertions="1" time="%f"/>
22 <testcase name="testAdd with data set #1" assertions="1" time="%f"/>
23 <testcase name="testAdd with data set #2" assertions="1" time="%f">
24 <failure type="PHPUnit_Framework_ExpectationFailedException">DataProviderTest::testAdd with data set #2 (1, 1, 3)
25 Failed asserting that 2 matches expected 3.
30 <testcase name="testAdd with data set #3" assertions="1" time="%f"/>
40 1) DataProviderTest::testAdd with data set #2 (1, 1, 3)
41 Failed asserting that 2 matches expected 3.
46 Tests: 4, Assertions: 4, Failures: 1.