Are there tools that let you instrument PHP to collect code coverage data from integration tests or just manual testing/usage?
I'm aware the coverage options for phpunit but not sure how to proceed beyond that.
Are there tools that let you instrument PHP to collect code coverage data from integration tests or just manual testing/usage?
I'm aware the coverage options for phpunit but not sure how to proceed beyond that.
This blog post raises the question of what value codecoverage might be when running Behat tests
The nature of acceptance tests is not really to tests units of code, but to assure that the behavior of your application meets a certain set of criteria (Behat Scenarios).
as does this blog post
There is generally no point in having code coverage for Behat test cases because of their nature: The purpose of an acceptance test is to assert a certain behavior of an application, not to technically test a piece of code. Therefore, there is no point in checking for uncovered code pieces in order to write a Behat test for it.
However, Codeception does, and Behat can do so with the vipsoft extension