Skip to content

Commit

Permalink
add documentation for running tests with coverage (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Coutadeur committed Mar 29, 2024
1 parent d9c81ae commit 649ba2b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ Run the tests:
vendor/bin/phpunit tests/Ltb
```

If you want coverage analysis, make sure to install `xdebug` PHP extension, and run:

```
XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --configuration phpunit.xml
```


### Integration tests

Expand Down

0 comments on commit 649ba2b

Please sign in to comment.