You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Codecoverage.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -92,10 +92,13 @@ All you need is to execute codeception with `--coverage` option.
92
92
To generate a clover xml report or a tasty html report append also `--coverage-xml` and `--coverage-html` options.
93
93
94
94
95
-
```yaml
95
+
```bash
96
96
php vendor/bin/codecept run --coverage --coverage-xml --coverage-html
97
97
```
98
98
99
+
> note: If you don't need to generate default PHP coverage report (coverage.serialized) you can call `--disable-coverage-php` option.
100
+
This option can help you reduce memory usage and fix problems with memory leak on the huge projects.
101
+
99
102
XML and HTML reports are stored to the `_output` directory. The best way to review report is to open `index.html` from `tests/_output/coverage` in your browser.
100
103
XML clover reports are used by IDEs (like PHPStorm) or Continuous Integration servers (like Jenkins).
0 commit comments