2 phpunit --testdox php://stdout BankAccountTest ../../Samples/BankAccount/BankAccountTest.php
5 $_SERVER['argv'][1] = '--testdox';
6 $_SERVER['argv'][2] = 'BankAccountTest';
7 $_SERVER['argv'][3] = '../Samples/BankAccount/BankAccountTest.php';
9 require_once dirname(dirname(dirname(__FILE__))) . '/TextUI/Command.php';
10 PHPUnit_TextUI_Command::main();
13 PHPUnit %s by Sebastian Bergmann.
16 [x] Balance is initially zero
17 [x] Balance cannot become negative