@author
  • References/PHP/PHPUnit/Annotations

@author The @author annotation is an alias for the @group annotation (see

2025-01-10 15:47:30
assertEmpty()
  • References/PHP/PHPUnit/Assertions

assertEmpty() assertEmpty(mixed $actual[, string $message = ''])

2025-01-10 15:47:30
Installing PHPUnit
  • References/PHP/PHPUnit/Guides

Requirements PHPUnit 5.6 requires PHP 5.6; using the latest version of PHP is highly recommended.

2025-01-10 15:47:30
Testing Practices
  • References/PHP/PHPUnit/Guides

You can always write more tests. However, you will quickly

2025-01-10 15:47:30
assertJsonFileEqualsJsonFile()
  • References/PHP/PHPUnit/Assertions

assertJsonFileEqualsJsonFile() assertJsonFileEqualsJsonFile(mixed $expectedFile, mixed

2025-01-10 15:47:30
@testdox
  • References/PHP/PHPUnit/Annotations

@testdox

2025-01-10 15:47:30
@depends
  • References/PHP/PHPUnit/Annotations

@depends PHPUnit supports the declaration of explicit dependencies between test methods. Such dependencies do not define the order in which

2025-01-10 15:47:30
Logging
  • References/PHP/PHPUnit/Guides

PHPUnit can produce several types of logfiles. Test Results (XML) The XML logfile for test

2025-01-10 15:47:30
assertArraySubset()
  • References/PHP/PHPUnit/Assertions

assertArraySubset() assertArraySubset(array $subset, array $array[, bool $strict = ''

2025-01-10 15:47:30
@preserveGlobalState
  • References/PHP/PHPUnit/Annotations

@preserveGlobalState When a test is run in a separate process, PHPUnit will attempt to preserve the global state from the parent process by

2025-01-10 15:47:30