lundi 23 novembre 2015

Is there a way to get a list of ignored methods from PHPUnit?

We're using PHPUnit, and using the @codeCoverageIgnore directive on trivial methods (getters and setters, and simple dependency injection in constructors, that kind of thing).

I'd like to get a report of all methods being ignored as a separate report from the regular code coverage report. This will allow us to review the methods being ignored and determine if the directive has been abused anywhere in the project codebase.

Aucun commentaire:

Enregistrer un commentaire