@testdox
  • References/PHP/PHPUnit/Annotations

@testdox

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

assertJsonFileEqualsJsonFile() assertJsonFileEqualsJsonFile(mixed $expectedFile, mixed

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

Once you get used to writing automated tests, you will likely discover more uses for tests. Here are some examples. Agile Documentation

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

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

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

@runTestsInSeparateProcesses Indicates that all tests in a test class should be run in a separate PHP process.

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

assertJsonStringEqualsJsonFile() assertJsonStringEqualsJsonFile(mixed $expectedFile,

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

assertXmlStringEqualsXmlString() assertXmlStringEqualsXmlString(string $expectedXml,

2025-01-10 15:47:30