The test codes are written using SimpleTest framework, and I am looking for a tool or an open source solution to perform Code Coverage.
Asked
Active
Viewed 123 times
0
-
`phpunit` read about it, mostly used. https://phpunit.de/ in detail https://phpunit.de/manual/current/en/code-coverage-analysis.html – JustOnUnderMillions Mar 07 '17 at 16:00
-
Possible duplicate of [What unit testing in PHP to start](http://stackoverflow.com/questions/4624093/what-unit-testing-in-php-to-start) – Farkie Mar 07 '17 at 16:10
2 Answers
1
Use SimpleTest's Coverage extension:
https://github.com/simpletest/simpletest/tree/master/extensions/coverage

Jens A. Koch
- 39,862
- 13
- 113
- 141
0
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

JustOnUnderMillions
- 3,741
- 9
- 12