PHPUnitManual:D
- Appendix D. Index
Index
Symbols
$backupGlobalsBlacklist, 86
$backupStaticAttributesBlacklist, 86
@assert, 148
@author,, 173
@backupGlobals, 86, 173, 173
@backupStaticAttributes, 86, 173, 174
@codeCoverageIgnore, 143, 174
@codeCoverageIgnoreEnd, 143, 174
@codeCoverageIgnoreStart, 143, 174
@covers, 141, 174
@coversNothing, 142, 175
@dataProvider, 12, 15, 15, 15, 175
@depends, 10, 15, 15, 15, 175
@expectedException, 15, 16, 176
@expectedExceptionCode, 16, 176
@expectedExceptionMessage, 16, 176
@group,,,, 177
@outputBuffering, 177, 178
@preserveGlobalState, 178
@requires, 178, 178
@runInSeparateProcess, 179
@runTestsInSeparateProcesses, 178
@test,, 179
@testdox, 179
@ticket, 179
A
Agile Documentation,,, 145
Annotation, 10,, 10, 12, 15, 15, 15, 15, 16,
anything(),
arrayHasKey(),
assertArrayHasKey(), 22,
assertArrayNotHasKey(), 22,
assertAttributeContains(), 24,
assertAttributeContainsOnly(), 26,
assertAttributeCount(),
assertAttributeEmpty(), 29,
assertAttributeEquals(), 32,
assertAttributeGreaterThan(), 41,
assertAttributeGreaterThanOrEqual(), 42,
assertAttributeInstanceOf(), 43,
assertAttributeInternalType(), 44,
assertAttributeLessThan(), 48,
assertAttributeLessThanOrEqual(), 48,
assertAttributeNotContains(), 24,
assertAttributeNotContainsOnly(), 26,
assertAttributeNotCount(),
assertAttributeNotEmpty(), 29,
assertAttributeNotEquals(), 32,
assertAttributeNotInstanceOf(), 43,
assertAttributeNotInternalType(), 44,
assertAttributeNotSame(), 54,
assertAttributeSame(), 54,
assertClassHasAttribute(), 23,
assertClassHasStaticAttribute(), 24,
assertClassNotHasAttribute(), 23,
assertClassNotHasStaticAttribute(), 24,
assertContains(), 24,
assertContainsOnly(), 26,
assertContainsOnlyInstancesOf(), 27,
assertCount(), 28,
assertEmpty(), 29,
assertEquals(), 32,
assertEqualXMLStructure(), 30,
assertFalse(), 38,
assertFileEquals(), 39,
assertFileExists(), 40,
assertFileNotEquals(), 39,
assertFileNotExists(), 40,
assertGreaterThan(), 41,
assertGreaterThanOrEqual(), 42,
assertInstanceOf(), 43,
assertInternalType(), 44,
Assertions, 2
assertJsonFileEqualsJsonFile(), 45,
assertJsonFileNotEqualsJsonFile(), 45,
assertJsonStringEqualsJsonFile(), 46,
assertJsonStringEqualsJsonString(), 46,
assertJsonStringNotEqualsJsonFile(), 46,
assertJsonStringNotEqualsJsonString(), 46,
assertLessThan(), 48,
assertLessThanOrEqual(), 48,
assertNotContains(), 24,
assertNotContainsOnly(), 26,
assertNotCount(), 28,
assertNotEmpty(), 29,
assertNotEquals(), 32,
assertNotInstanceOf(), 43,
assertNotInternalType(), 44,
assertNotNull(), 49,
assertNotRegExp(), 51,
assertNotSame(), 54,
assertNotSameSize(),
assertNotTag(), 64,
assertNull(), 49,
assertObjectHasAttribute(), 50,
assertObjectNotHasAttribute(), 50,
assertPostConditions(), 83
assertPreConditions(), 83
assertRegExp(), 51,
assertSame(), 54,
assertSameSize(),
assertSelectCount(), 56,
assertSelectEquals(), 58,
assertSelectRegExp(), 59,
assertStringEndsNotWith(), 61,
assertStringEndsWith(), 61,
assertStringEqualsFile(), 62,
assertStringMatchesFormat(), 52,
assertStringMatchesFormatFile(), 53,
assertStringNotEqualsFile(), 62,
assertStringNotMatchesFormat(), 52,
assertStringNotMatchesFormatFile(), 53,
assertStringStartsNotWith(), 63,
assertStringStartsWith(), 63,
assertTag(), 64,
assertThat(), 66,
assertTrue(), 68,
assertXmlFileEqualsXmlFile(), 69,
assertXmlFileNotEqualsXmlFile(), 69,
assertXmlStringEqualsXmlFile(), 70,
assertXmlStringEqualsXmlString(), 71,
assertXmlStringNotEqualsXmlFile(), 70,
assertXmlStringNotEqualsXmlString(), 71,
attribute(),
attributeEqualTo(),
Automated Documentation, 145
Automated Test, 2
B
Behaviour-Driven Development, 133
Blacklist, 143, 182
C
classHasAttribute(),
classHasStaticAttribute(),
Code Coverage,,, 139, 143, 174, 182
Configuration,,
Constant, 183
contains(),
containsOnly(),
containsOnlyInstancesOf(),
D
Data-Driven Tests, 167
Defect Localization, 11
Depended-On Component, 112
Design-by-Contract, 128
Documenting Assumptions, 145
Domain-Driven Design, 133
E
equalTo(),
Error, 77
Error Handler, 19
expects(), 113, 114, 114, 115, 115, 116, 116, 117
Extreme Programming, 128, 133, 145
F
Failure, 77
fileExists(),
Fixture, 82
Fluent Interface, 112
G
getMock(), 113, 114, 115, 115, 116, 116, 117
getMockBuilder(), 114
getMockForAbstractClass(), 120
getMockFromWsdl(), 121
Global Variable, 86, 183
greaterThan(),
greaterThanOrEqual(),
H
hasAttribute(),
I
identicalTo(),
include_path,
Incomplete Test, 108, 147
isFalse(),
isInstanceOf(),
isNull(),
isTrue(),
isType(),
J
JSON,
L
lessThan(),
lessThanOrEqual(),
Logfile,,
Logging, 160, 182
logicalAnd(),
logicalNot(),
logicalOr(),
logicalXor(),
M
matchesRegularExpression(),
method(), 113, 114, 114, 115, 115, 116, 116, 117
Mock Object, 117, 119
O
onConsecutiveCalls(), 116
onNotSuccessfulTest(), 83
P
PHP Error, 19
PHP Notice, 19
PHP Warning, 19
php.ini, 183
PHPUnit_Extensions_RepeatedTest, 166
PHPUnit_Extensions_Selenium2TestCase, 152
PHPUnit_Extensions_SeleniumTestCase, 153
PHPUnit_Extensions_Story_TestCase, 133
PHPUnit_Extensions_TestDecorator, 166
PHPUnit_Extensions_TestSetup, 166
PHPUnit_Framework_Assert, 131
PHPUnit_Framework_Error, 19
PHPUnit_Framework_Error_Notice, 20
PHPUnit_Framework_Error_Warning, 20
PHPUnit_Framework_IncompleteTest, 108
PHPUnit_Framework_IncompleteTestError, 108
PHPUnit_Framework_Test, 167
PHPUnit_Framework_TestCase, 10, 164
PHPUnit_Framework_TestListener,, 165, 183
PHPUnit_Runner_TestSuiteLoader,
PHPUnit_Util_Printer,
Process Isolation,
R
Refactoring, 126
Report,
returnArgument(), 114
returnCallback(), 116
returnSelf(), 115
returnValue(), 113, 114
returnValueMap(), 115
S
Selenium RC, 184
Selenium Server, 152
setUp(), 82, 83, 83
setUpBeforeClass, 85
setUpBeforeClass(), 83, 83
Skeleton Generator, 147
stringContains(),
stringEndsWith(),
stringStartsWith(),
Stub, 112
Stubs, 146
System Under Test, 112
T
tearDown(), 82, 83, 83
tearDownAfterClass, 85
tearDownAfterClass(), 83, 83
Template Method, 82, 83, 83, 83
Test Dependencies, 10
Test Double, 112
Test Groups,,,, 181
Test Isolation,,,, 86
Test Listener, 183
Test Suite, 87, 181
Test-Driven Development, 128, 133
Test-First Programming, 128
TestDox, 145, 179
throwException(), 117
U
Unit Test, 1, 128
W
Whitelist, 143, 182
will(), 113, 114, 114, 115, 115, 116, 116, 117
X
Xdebug, 139
XML Configuration, 88