A platform combines multiple tutorials, projects, documentations, questions and answers for developers
  • Home (current)
  • Documentations
  • About
  • Login
  1. Home
  2. Documentations
  3. PHPUnit 6

PHPUnit

© 2005–2017 Sebastian Bergmann
Licensed under the Creative Commons Attribution 3.0 Unported License.
https://phpunit.de/manual/6.5/en/index.html

Guides
Code Coverage Analysis
Database Testing
Extending PHPUnit
Fixtures
Incomplete and Skipped Tests
Installing PHPUnit
Logging
Organizing Tests
Other Uses for Tests
Risky Tests
Test Doubles
Testing Practices
The Command-Line Test Runner
The XML Configuration File
Writing Tests for PHPUnit
Annotations
@after
@afterClass
@author
@backupGlobals
@backupStaticAttributes
@before
@beforeClass
@codeCoverageIgnore*
@covers
@coversDefaultClass
@coversNothing
@dataProvider
@depends
@expectedException
@expectedExceptionCode
@expectedExceptionMessage
@expectedExceptionMessageRegExp
@group
@large
@medium
@preserveGlobalState
@requires
@runInSeparateProcess
@runTestsInSeparateProcesses
@small
@test
@testdox
@ticket
@uses
Annotations
Assertions
Assertions
Static vs. Non-Static Usage of Assertion Methods
assertArrayHasKey()
assertArraySubset()
assertClassHasAttribute()
assertClassHasStaticAttribute()
assertContains()
assertContainsOnly()
assertContainsOnlyInstancesOf()
assertCount()
assertDirectoryExists()
assertDirectoryIsReadable()
assertDirectoryIsWritable()
assertEmpty()
assertEqualXMLStructure()
assertEquals()
assertFalse()
assertFileEquals()
assertFileExists()
assertFileIsReadable()
assertFileIsWritable()
assertGreaterThan()
assertGreaterThanOrEqual()
assertInfinite()
assertInstanceOf()
assertInternalType()
assertIsReadable()
assertIsWritable()
assertJsonFileEqualsJsonFile()
assertJsonStringEqualsJsonFile()
assertJsonStringEqualsJsonString()
assertLessThan()
assertLessThanOrEqual()
assertNan()
assertNull()
assertObjectHasAttribute()
assertRegExp()
assertSame()
assertStringEndsWith()
assertStringEqualsFile()
assertStringMatchesFormat()
assertStringMatchesFormatFile()
assertStringStartsWith()
assertThat()
assertTrue()
assertXmlFileEqualsXmlFile()
assertXmlStringEqualsXmlFile()
assertXmlStringEqualsXmlString()
Copyright ©2023 TypeError Powered By AnyPost, page cost 61ms.
Privacy Policy