Skip to content

Commit d1b4c87

Browse files
committed
Changed example CLI options to point to build/coverage directory
1 parent 96006f2 commit d1b4c87

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,14 @@ The HTML files can be viewed by opening **build/coverage/html/index.html** in yo
119119
Alternatively you can use the following command:
120120

121121
```console
122-
./phpunit --colors --coverage-text=tests/coverage.txt --coverage-html=tests/coverage/ -d memory_limit=1024m
122+
./phpunit --colors --coverage-text=build/coverage/text/coverage.txt --coverage-html=build/coverage/html/ -d memory_limit=1024m
123123
```
124124

125125
This runs all of the tests again collecting information about how many lines,
126126
functions, and files are tested. It also reports the percentage of the code that is covered by tests.
127127
It is collected in two formats: a simple text file that provides an overview as well
128128
as a comprehensive collection of HTML files that show the status of every line of code in the project.
129129

130-
For the example above, the text file can be found at **tests/coverage.txt** and
131-
the HTML files can be viewed by opening **tests/coverage/index.html**.
132130

133131
## PHPUnit XML Configuration
134132

0 commit comments

Comments
 (0)