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.
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
This annotation is already used in MW core, so ought to not be stupidly
Jeroen De Dauw
Don't panic. Don't be evil.