@after The @after annotation can be used to specify methods that should be called after each test method in a
assertFalse() assertFalse(bool $condition[, string $message = ''])
assertTrue() assertTrue(bool $condition[, string $message = ''])
@group A test can be tagged as belonging to one or more groups using the @group annotation like this
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
assertInstanceOf() assertInstanceOf($expected, $actual[, $message = ''])
@expectedExceptionMessageRegExp The expected message can also be specified as a regular expression using the @expec
PHPUnit The attributes of the <phpunit> element can be used to configure PHPUnit's core
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
assertIsWritable() assertIsWritable(string $filename[, string $message = ''])
Page 1 of 9