Incomplete and Skipped Tests
  • References/PHP/PHPUnit/Guides

Incomplete Tests When you are working on a new test case class, you might want to begin by writing empty test methods such

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

@after The @after annotation can be used to specify methods that should be called after each test method in a

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

@expectedExceptionMessage The @expectedExceptionMessage annotation works similar to @e

2025-01-10 15:47:30
The Command-Line Test Runner
  • References/PHP/PHPUnit/Guides

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

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

assertFalse() assertFalse(bool $condition[, string $message = ''])

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

@expectedExceptionMessageRegExp The expected message can also be specified as a regular expression using the @expec

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

assertIsWritable() assertIsWritable(string $filename[, string $message = ''])

2025-01-10 15:47:30
@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
assertStringEqualsFile()
  • References/PHP/PHPUnit/Assertions

assertStringEqualsFile() assertStringEqualsFile(string $expectedFile, string $actualString[

2025-01-10 15:47:30