assertInstanceOf() assertInstanceOf($expected, $actual[, $message = ''])
In computer science, code coverage is a measure used to
assertIsWritable() assertIsWritable(string $filename[, string $message = ''])
assertFalse() assertFalse(bool $condition[, string $message = ''])
assertTrue() assertTrue(bool $condition[, string $message = ''])
The PHPUnit command-line test runner can be invoked through the phpunit command. The following code shows how to run tests with the PHPUnit command-line
Incomplete Tests When you are working on a new test case class, you might want to begin by writing empty test methods such
@expectedExceptionMessage The @expectedExceptionMessage annotation works similar to @e
@after The @after annotation can be used to specify methods that should be called after each test method in a
One of the most time-consuming parts of writing tests is writing the code to set the world up in a known state and then return it to its original state when the test is complete
Page 1 of 9