@small The @small annotation is an alias for @group small. A small test must not
@depends PHPUnit supports the declaration of explicit dependencies between test methods. Such dependencies do not define the order in which
@runTestsInSeparateProcesses Indicates that all tests in a test class should be run in a separate PHP process.
@expectedException Example 2.10 shows how to use the @expectedException annotation to test whether an exception
@testdox
assertArraySubset() assertArraySubset(array $subset, array $array[, bool $strict = ''
@preserveGlobalState When a test is run in a separate process, PHPUnit will attempt to preserve the global state from the parent process by
Once you get used to writing automated tests, you will likely discover more uses for tests. Here are some examples. Agile Documentation
assertStringMatchesFormat() assertStringMatchesFormat(string $format, string $string[
Requirements PHPUnit 5.6 requires PHP 5.6; using the latest version of PHP is highly recommended.
Page 3 of 9