2010
technique @PMSIpilot » Code coverage des tests unitaires d’un projet symfony et intégration dans Hudson CI
by Xavier LacotUn exemple d'automatisation de tests unitaires avec symfony et Hudson. Le point intéressant est le calcul de la couverture des tests - idéalement, on doit tendre vers 100.
2008
i should be coding :: unit tests and code coverage with phpt
by kasi77 (via)My initial experiences with unit testing and PHP were with PHPUnit. While it's a great tool and I have to give kudos to Sebastian for contributing so much to its development, I've come to appreciate the simplicity of PHPT tests. Recently, I wrote some for a project and realized that I wasn't aware of how to generate code coverage reports. Many thanks to the very helpful patrons in the #pear channel on EFNet for helping me to get this working.
1
(2 marks)