Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / TextUI / debug.phpt
1 --TEST--
2 phpunit --debug BankAccountTest ../_files/BankAccountTest.php
3 --FILE--
4 <?php
5 $_SERVER['argv'][1] = '--no-configuration';
6 $_SERVER['argv'][2] = '--debug';
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
17 Starting test 'BankAccountTest::testBalanceIsInitiallyZero'.
18 .
19 Starting test 'BankAccountTest::testBalanceCannotBecomeNegative'.
20 .
21 Starting test 'BankAccountTest::testBalanceCannotBecomeNegative2'.
22 .
23
24 Time: %s, Memory: %s
25
26 OK (3 tests, 3 assertions)