@backupGlobals
  • References/PHP/PHPUnit/Annotations

@backupGlobals The backup and restore operations for global variables can be completely disabled for all tests of a test case class like this

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

@group A test can be tagged as belonging to one or more groups using the @group annotation like this

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

@medium The @medium annotation is an alias for @group medium. A medium test must

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
@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
@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
@small
  • References/PHP/PHPUnit/Annotations

@small The @small annotation is an alias for @group small. A small test must not

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
@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