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.

396

Answer

Solution:

Use SimpleTest's Coverage extension:

https://github.com/simpletest/simpletest/tree/master/extensions/coverage

66

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

People are also looking for solutions to the problem: php - Why I'm getting duplicated values when using SUM() in MySQL?

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.