@expectedException
  • References/PHP/PHPUnit/Annotations

@expectedException Example 2.10 shows how to use the @expectedException annotation to test whether an exception

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

@coversNothing The @coversNothing annotation can be used in the test code to specify that no code coverage information

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

@test As an alternative to prefixing your test method names with test, you can use the @test

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

@codeCoverageIgnore* The @codeCoverageIgnore, @codeCoverageIgnoreStart and

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

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

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

@large The @large annotation is an alias for @group large.

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

@covers The @covers annotation can be used in the test code to specify which method(s) a test method wants to

2025-01-10 15:47:30