assertCount()
  • References/PHP/PHPUnit/Assertions

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

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

assertLessThanOrEqual() assertLessThanOrEqual(mixed $expected, mixed $actual[, string

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

assertInfinite() assertInfinite(mixed $variable[, string $message = ''])

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

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

2025-01-10 15:47:30
Writing Tests for PHPUnit
  • References/PHP/PHPUnit/Guides

Example 2.1 shows how we can write tests using PHPUnit that exercise PHP's array operations. The example introduces the basic conventions and steps for writing tests with

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

@beforeClass The @beforeClass annotation can be used to specify static methods that should be called before any

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

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

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

assertXmlFileEqualsXmlFile() assertXmlFileEqualsXmlFile(string $expectedFile, string

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

@uses The @uses annotation specifies code which will be executed by a test, but is not intended to be covered

2025-01-10 15:47:30