Incomplete Tests When you are working on a new test case class, you might want to begin by writing empty test methods such
@medium The @medium annotation is an alias for @group medium. A medium test must
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 = ''])
assertIsWritable() assertIsWritable(string $filename[, string $message = ''])
@expectedExceptionMessage The @expectedExceptionMessage annotation works similar to @e
assertContainsOnlyInstancesOf() assertContainsOnlyInstancesOf(string $classname, Traversable|array
@group A test can be tagged as belonging to one or more groups using the @group annotation like this
@after The @after annotation can be used to specify methods that should be called after each test method in a
PHPUnit The attributes of the <phpunit> element can be used to configure PHPUnit's core
Page 1 of 9