2 phpunit --testdox-text php://stdout BankAccountTest ../_files/BankAccountTest.php
5 $_SERVER['argv'][1] = '--no-configuration';
6 $_SERVER['argv'][2] = '--testdox-text';
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.
18 ... [x] Balance is initially zero
19 [x] Balance cannot become negative
25 OK (3 tests, 3 assertions)