@large The @large annotation is an alias for @group large.
@covers The @covers annotation can be used in the test code to specify which method(s) a test method wants to
One of the goals of PHPUnit is that tests should be composable: we want to be able to run any number or combination of tests together, for instance all tests for the whole
assertThat() More complex assertions can be formulated using the PHPUnit_Framework_Constraint classes. They can
assertContainsOnly() assertContainsOnly(string $type, Iterator|array $haystack[, boolean
@afterClass The @afterClass annotation can be used to specify static methods that should be called after all test
@dataProvider A test method can accept arbitrary arguments. These arguments are to be provided by a data provider method (
assertEquals() assertEquals(mixed $expected, mixed $actual[, string $message = ''])
Many beginner and intermediate unit testing examples in any programming language suggest that it is perfectly easy to test your application's logic with simple tests. For
assertNull() assertNull(mixed $variable[, string $message = ''])
Page 7 of 9