1--TEST--
2phpunit --process-isolation --log-junit php://stdout DataProviderTest ../_files/DataProviderTest.php
3--FILE--
4<?php
5$_SERVER['argv'][1] = '--no-configuration';
6$_SERVER['argv'][2] = '--process-isolation';
7$_SERVER['argv'][3] = '--log-junit';
8$_SERVER['argv'][4] = 'php://stdout';
9$_SERVER['argv'][5] = 'DataProviderTest';
10$_SERVER['argv'][6] = __DIR__ . '/../_files/DataProviderTest.php';
11
12require __DIR__ . '/../bootstrap.php';
13PHPUnit_TextUI_Command::main();
14--EXPECTF--
15PHPUnit %s by Sebastian Bergmann and contributors.
16
17..F.                                                                4 / 4 (100%)<?xml version="1.0" encoding="UTF-8"?>
18<testsuites>
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)
25Failed asserting that 2 matches expected 3.
26
27%s:%i
28</failure>
29      </testcase>
30      <testcase name="testAdd with data set #3" assertions="1" time="%f"/>
31    </testsuite>
32  </testsuite>
33</testsuites>
34
35
36Time: %s, Memory: %s
37
38There was 1 failure:
39
401) DataProviderTest::testAdd with data set #2 (1, 1, 3)
41Failed asserting that 2 matches expected 3.
42
43%s:%i
44
45FAILURES!
46Tests: 4, Assertions: 4, Failures: 1.
47