assertIsReadable()
  • References/PHP/PHPUnit/Assertions

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

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

PHPUnit can be extended in various ways to make the writing of tests easier and customize the feedback you get from running tests. Here are common starting points to extend

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

assertThat() More complex assertions can be formulated using the PHPUnit_Framework_Constraint classes. They can

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
assertClassHasStaticAttribute()
  • References/PHP/PHPUnit/Assertions

assertClassHasStaticAttribute() assertClassHasStaticAttribute(string $attributeName,

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

@coversDefaultClass The @coversDefaultClass annotation can be used to specify a default namespace or class name

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

assertCount() assertCount($expectedCount, $haystack[, string $message = ''])

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

@runInSeparateProcess Indicates that a test should be run in a separate PHP process.

2025-01-10 15:47:30