Php SimpleTest CodeCoverage
281
The test codes are written using SimpleTest framework, and I am looking for a tool or an open source solution to perform Code Coverage.
The test codes are written using SimpleTest framework, and I am looking for a tool or an open source solution to perform Code Coverage.
People are also looking for solutions to the problem: php - Why I'm getting duplicated values when using SUM() in MySQL?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.
Find the answer in similar questions on our website.
Answer
Solution:
Use SimpleTest's Coverage extension:
https://github.com/simpletest/simpletest/tree/master/extensions/coverage
Answer
Solution:
You can use phpunit
Read about it, mostly used.
http://phpunit.de -- page is in english
Git: https://github.com/sebastianbergmann/phpunit
CodeCoverage: http://phpunit.de/manual/current/en/code-coverage-analysis.html