assertLessThan() assertLessThan(mixed $expected, mixed $actual[, string $message = ''])
assertXmlFileEqualsXmlFile() assertXmlFileEqualsXmlFile(string $expectedFile, string
@requires The @requires annotation can be used to skip tests when common preconditions, like the PHP Version
assertFileExists() assertFileExists(string $filename[, string $message = ''])
PHPUnit can perform the additional checks documented below while it executes the tests. Useless Tests
assertInfinite() assertInfinite(mixed $variable[, string $message = ''])
Example 2.1 shows how we can write tests using PHPUnit that exercise PHP's array operations. The example introduces the basic conventions and steps for writing tests with
Gerard Meszaros introduces the concept of Test Doubles in [Meszaros2007] like this:
assertContains() assertContains(mixed $needle, Iterator|array $haystack[, string $message
@uses The @uses annotation specifies code which will be executed by a test, but is not intended to be covered
Page 9 of 9