Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / phpunit / phpunit / tests / TextUI / testdox-html.phpt
1 --TEST--
2 phpunit --testdox-html php://stdout BankAccountTest ../_files/BankAccountTest.php
3 --FILE--
4 <?php
5 $_SERVER['argv'][1] = '--no-configuration';
6 $_SERVER['argv'][2] = '--testdox-html';
7 $_SERVER['argv'][3] = 'php://stdout';
8 $_SERVER['argv'][4] = 'BankAccountTest';
9 $_SERVER['argv'][5] = dirname(__FILE__) . '/../_files/BankAccountTest.php';
10
11 require __DIR__ . '/../bootstrap.php';
12 PHPUnit_TextUI_Command::main();
13 ?>
14 --EXPECTF--
15 PHPUnit %s by Sebastian Bergmann and contributors.
16 <html><body>
17 <h2 id="BankAccountTest">BankAccount</h2><ul>...<li>Balance is initially zero</li><li>Balance cannot become negative</li></ul></body></html>
18
19 Time: %s, Memory: %s
20
21 OK (3 tests, 3 assertions)