New assertion that no errors were generated
Thanks to Ellis's suggestion, there is now a new assertion to make sure that no errors were generated as part of a unit test.
A simple example:
public function testSomethingDidNotGenerateAnError()
{
// Run something that should not produce an error, warning or notice.
$this->assertNoErrors();
}