W3C
school
文档首页
HTML
CSS
Javascript
Python
jQuery
NodeJS
PHP
Java
MySQL
Express
More »
开关
PHPUnit 4 官方文档
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
assertArrayHasKey()
assertArraySubset()
assertClassHasAttribute()
assertClassHasStaticAttribute()
assertContains()
assertContainsOnly()
assertContainsOnlyInstancesOf()
assertCount()
assertEmpty()
assertEquals()
assertEqualXMLStructure()
assertFalse()
assertFileEquals()
assertFileExists()
assertGreaterThan()
assertGreaterThanOrEqual()
assertInstanceOf()
assertInternalType()
Assertions
assertJsonFileEqualsJsonFile()
assertJsonStringEqualsJsonFile()
assertJsonStringEqualsJsonString()
assertLessThan()
assertLessThanOrEqual()
assertNull()
assertObjectHasAttribute()
assertRegExp()
assertSame()
assertStringEndsWith()
assertStringEqualsFile()
assertStringMatchesFormat()
assertStringMatchesFormatFile()
assertStringStartsWith()
assertThat()
assertTrue()
assertXmlFileEqualsXmlFile()
assertXmlStringEqualsXmlFile()
assertXmlStringEqualsXmlString()
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
Index
index