Code CoverageEdit on GitHub
To be aware of what you are testing, you should know the code coverage. To get the code coverage report generated, make sure Xdebug is enabled and run your tests with an additional flag:
vendor/bin/codecept run --coverage-html
This will generate a coverage report in HTML that can be opened in any browser.
Keep in mind, that if you execute the tests with the coverage report, it will take much more time to run the tests. Therefore, consider running only certain tests for the code you are currently working on.
Currently, we don’t support code coverage for Presentation (Acceptance) tests out of the box.
For submitting the form