1--TEST--
2phpunit --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] = __DIR__ . '/../_files/BankAccountTest.php';
10
11require __DIR__ . '/../bootstrap.php';
12PHPUnit_TextUI_Command::main();
13--EXPECTF--
14PHPUnit %s by Sebastian Bergmann and contributors.
15<!doctype html>
16<html lang="en">
17    <head>
18        <meta charset="utf-8"/>
19        <title>Test Documentation</title>
20        <style>
21            body {
22                text-rendering: optimizeLegibility;
23                font-variant-ligatures: common-ligatures;
24                font-kerning: normal;
25                margin-left: 2em;
26            }
27
28            body > ul > li {
29                font-family: Source Serif Pro, PT Sans, Trebuchet MS, Helvetica, Arial;
30                font-size: 2em;
31            }
32
33            h2 {
34                font-family: Tahoma, Helvetica, Arial;
35                font-size: 3em;
36            }
37
38            ul {
39                list-style: none;
40                margin-bottom: 1em;
41            }
42        </style>
43    </head>
44    <body>
45
46        <h2 id="BankAccountTest">BankAccount</h2>
47        <ul>
48...                                                                 3 / 3 (100%)            <li style="color: #555753;">✓ Balance is initially zero</li>
49            <li style="color: #555753;">✓ Balance cannot become negative</li>
50        </ul>
51    </body>
52</html>
53
54Time: %s, Memory: %s
55
56OK (3 tests, 3 assertions)
57