Hey,
One of the interesting things that I learned today during a tutorial by
PHPUnit author Sebastian Bergmann is that there is a useful @covers tag.
http://phpunit.de/manual/3.7/en/appendixes.annotations.html#appendixes.anno…
He suggested we ought to use it for all our tests if we want our test
coverage reports to be accurate rather then having every line of code that
got executed marked as tested. So lets follow his advice and add this from
now on to new tests.
What might not be clear from the docs is that this can be done on the class
level.
This annotation is already used in MW core, so ought to not be stupidly
controversial :)
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--