2 phpunit --log-junit php://stdout StatusTest ../_files/StatusTest.php
5 $_SERVER['argv'][1] = '--no-configuration';
6 $_SERVER['argv'][2] = '--log-junit';
7 $_SERVER['argv'][3] = 'php://stdout';
8 $_SERVER['argv'][4] = 'StatusTest';
9 $_SERVER['argv'][5] = __DIR__ . '/../_files/StatusTest.php';
11 require __DIR__ . '/../bootstrap.php';
12 PHPUnit_TextUI_Command::main();
15 PHPUnit %s by Sebastian Bergmann and contributors.
17 .FEIS.<?xml version="1.0" encoding="UTF-8"?>
19 <testsuite name="StatusTest" file="%s/StatusTest.php" tests="4" assertions="2" failures="1" errors="1" time="%s">
20 <testcase name="testSuccess" class="StatusTest" file="%s/StatusTest.php" line="%d" assertions="1" time="%s"/>
21 <testcase name="testFailure" class="StatusTest" file="%s/StatusTest.php" line="%d" assertions="1" time="%s">
22 <failure type="PHPUnit_Framework_ExpectationFailedException">StatusTest::testFailure
23 Failed asserting that false is true.
28 <testcase name="testError" class="StatusTest" file="%s/StatusTest.php" line="%d" assertions="0" time="%s">
29 <error type="Exception">StatusTest::testError
35 <testcase name="testRisky" class="StatusTest" file="%s/StatusTest.php" line="%d" assertions="0" time="%s"/>
44 1) StatusTest::testError
53 1) StatusTest::testFailure
54 Failed asserting that false is true.
59 Tests: 6, Assertions: 2, Errors: 1, Failures: 1, Skipped: 1, Incomplete: 1.