lundi 23 février 2015

PHPUnit strict mode and non-public methods

I'm using strict mode with @covers ::<!public> annotation on test case level to cover all protected/private methods, so I can ignore implementation details and don't hardcode @covers for non-public methods in tests.


Is there any reason against this approach?


Aucun commentaire:

Enregistrer un commentaire