Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / TextUI / testdox.phpt
1 --TEST--
2 phpunit --testdox php://stdout BankAccountTest ../_files/BankAccountTest.php
3 --FILE--
4 <?php
5 $_SERVER['argv'][1] = '--no-configuration';
6 $_SERVER['argv'][2] = '--testdox';
7 $_SERVER['argv'][3] = 'BankAccountTest';
8 $_SERVER['argv'][4] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
9
10 require __DIR__ . '/../bootstrap.php';
11 PHPUnit_TextUI_Command::main();
12 ?>
13 --EXPECTF--
14 PHPUnit %s by Sebastian Bergmann and contributors.
15
16 BankAccount
17  [x] Balance is initially zero
18  [x] Balance cannot become negative
19