2 phpunit --testdox-text php://stdout BankAccountTest ../../Samples/BankAccount/BankAccountTest.php
5 $_SERVER['argv'][1] = '--testdox-text';
6 $_SERVER['argv'][2] = 'php://stdout';
7 $_SERVER['argv'][3] = 'BankAccountTest';
8 $_SERVER['argv'][4] = '../Samples/BankAccount/BankAccountTest.php';
10 require_once dirname(dirname(dirname(__FILE__))) . '/TextUI/Command.php';
11 PHPUnit_TextUI_Command::main();
14 PHPUnit %s by Sebastian Bergmann.
17 ... [x] Balance is initially zero
18 [x] Balance cannot become negative
24 OK (3 tests, 3 assertions)