Skip to content

Commit e1611a3

Browse files
committed
Use dedicated command line arguments for reports...
...instead of the generic listener options which are passed to the unittest runner. See `xp help coverage`
1 parent 89f22c3 commit e1611a3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,16 @@ Coverage: 84.72% lines covered (61/72)
3434

3535
An optional HTML report can be generated like this.
3636

37-
`xp coverage -p src/main/php src/test/php/ -o htmlreportdirectory report`
37+
```bash
38+
$ xp coverage -p src/main/php -r ./coverage-report src/test/php/
39+
```
3840

3941
Use it in order to find out how to improve your coverage.
4042

4143
### Clover report
4244

4345
A [clover](https://www.atlassian.com/software/clover) report can be generated as well.
4446

45-
`xp coverage -p src/main/php src/test/php/ -o cloverfile clo.xml`
47+
```bash
48+
$ xp coverage -p src/main/php -c clover.xml src/test/php/
49+
```

0 commit comments

Comments
 (0)