Quantcast
Viewing latest article 2
Browse Latest Browse All 4

Excluding parts of PHP code from code coverage report

A funny thing happened to me the other day when i noticed a new operator (adnotation) supported by php unit.

So there apparently is a way to ignore parts of the PHP code from code coverage report.

If you put comments like below around some code it wont be counted at all during code coverage.

read more


Viewing latest article 2
Browse Latest Browse All 4

Trending Articles