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

PHPUnit

© 2005–2016 Sebastian Bergmann
Licensed under the Creative Commons Attribution 3.0 Unported License.
https://phpunit.de/manual/4.8/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
PHPUnit and Selenium
Risky Tests
Test Doubles
Testing Practices
The Command-Line Test Runner
The XML Configuration File
Upgrading
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
assertArrayHasKey()
assertArraySubset()
assertClassHasAttribute()
assertClassHasStaticAttribute()
assertContains()
assertContainsOnly()
assertContainsOnlyInstancesOf()
assertCount()
assertEmpty()
assertEqualXMLStructure()
assertEquals()
assertFalse()
assertFileEquals()
assertFileExists()
assertGreaterThan()
assertGreaterThanOrEqual()
assertInstanceOf()
assertInternalType()
assertJsonFileEqualsJsonFile()
assertJsonStringEqualsJsonFile()
assertJsonStringEqualsJsonString()
assertLessThan()
assertLessThanOrEqual()
assertNull()
assertObjectHasAttribute()
assertRegExp()
assertSame()
assertStringEndsWith()
assertStringEqualsFile()
assertStringMatchesFormat()
assertStringMatchesFormatFile()
assertStringStartsWith()
assertThat()
assertTrue()
assertXmlFileEqualsXmlFile()
assertXmlStringEqualsXmlFile()
assertXmlStringEqualsXmlString()
Copyright ©2023 TypeError Powered By AnyPost, page cost 63ms.
Privacy Policy