2 phpunit --testdox-html php://stdout BankAccountTest ../_files/BankAccountTest.php
5 $_SERVER['argv'][1] = '--no-configuration';
6 $_SERVER['argv'][2] = '--testdox-html';
7 $_SERVER['argv'][3] = 'php://stdout';
8 $_SERVER['argv'][4] = 'BankAccountTest';
9 $_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
11 require __DIR__ . '/../bootstrap.php';
12 PHPUnit_TextUI_Command::main();
15 PHPUnit %s by Sebastian Bergmann and contributors.
17 <h2 id="BankAccountTest">BankAccount</h2><ul>...<li>Balance is initially zero</li><li>Balance cannot become negative</li></ul></body></html>
21 OK (3 tests, 3 assertions)