Appendix D. Index

Symbols

$backupGlobalsBlacklist, Global State
$backupStaticAttributesBlacklist, Global State
@assert, Generating a Test Case Class Skeleton
@author, Command-Line switches, @author
@backupGlobals, Global State, @backupGlobals
@backupStaticAttributes, Global State, @backupStaticAttributes
@codeCoverageIgnore, Ignoring Code Blocks, @codeCoverageIgnore*
@codeCoverageIgnoreEnd, Ignoring Code Blocks, @codeCoverageIgnore*
@codeCoverageIgnoreStart, Ignoring Code Blocks, @codeCoverageIgnore*
@covers, Specifying Covered Methods, @covers
@coversDefaultClass, @coversDefaultClass
@coversNothing, Specifying Covered Methods, @coversNothing
@dataProvider, Data Providers, @dataProvider
@depends, Test Dependencies, Data Providers, @depends
@expectedException, Testing Exceptions, @expectedException
@expectedExceptionCode, Testing Exceptions, @expectedExceptionCode
@expectedExceptionMessage, Testing Exceptions, @expectedExceptionMessage
@group, Command-Line switches, @group
@large, @large
@medium, @medium
@preserveGlobalState, @preserveGlobalState
@requires, @requires
@runInSeparateProcess, @runInSeparateProcess
@runTestsInSeparateProcesses, @runTestsInSeparateProcesses
@small, @small
@test, Writing Tests for PHPUnit, @test
@testdox, @testdox
@ticket, @ticket

A

Agile Documentation, Command-Line switches, Agile Documentation
Annotation, Writing Tests for PHPUnit, Test Dependencies, Data Providers, Testing Exceptions, Command-Line switches, Specifying Covered Methods, Ignoring Code Blocks, Generating a Test Case Class Skeleton, Annotations
anything(), assertThat()
arrayHasKey(), assertThat()
assertArrayHasKey(), assertArrayHasKey(), Assertions
assertArrayNotHasKey(), assertArrayHasKey(), Assertions
assertAttributeContains(), assertContains(), Assertions
assertAttributeContainsOnly(), assertContainsOnly(), Assertions
assertAttributeCount(), Assertions
assertAttributeEmpty(), assertEmpty(), Assertions
assertAttributeEquals(), assertEquals(), Assertions
assertAttributeGreaterThan(), assertGreaterThan(), Assertions
assertAttributeGreaterThanOrEqual(), assertGreaterThanOrEqual(), Assertions
assertAttributeInstanceOf(), assertInstanceOf(), Assertions
assertAttributeInternalType(), assertInternalType(), Assertions
assertAttributeLessThan(), assertLessThan(), Assertions
assertAttributeLessThanOrEqual(), assertLessThanOrEqual(), Assertions
assertAttributeNotContains(), assertContains(), Assertions
assertAttributeNotContainsOnly(), assertContainsOnly(), Assertions
assertAttributeNotCount(), Assertions
assertAttributeNotEmpty(), assertEmpty(), Assertions
assertAttributeNotEquals(), assertEquals(), Assertions
assertAttributeNotInstanceOf(), assertInstanceOf(), Assertions
assertAttributeNotInternalType(), assertInternalType(), Assertions
assertAttributeNotSame(), assertSame(), Assertions
assertAttributeSame(), assertSame(), Assertions
assertClassHasAttribute(), assertClassHasAttribute(), Assertions
assertClassHasStaticAttribute(), assertClassHasStaticAttribute(), Assertions
assertClassNotHasAttribute(), assertClassHasAttribute(), Assertions
assertClassNotHasStaticAttribute(), assertClassHasStaticAttribute(), Assertions
assertContains(), assertContains(), Assertions
assertContainsOnly(), assertContainsOnly(), Assertions
assertContainsOnlyInstancesOf(), assertContainsOnlyInstancesOf(), Assertions
assertCount(), assertCount(), Assertions
assertEmpty(), assertEmpty(), Assertions
assertEquals(), assertEquals(), Assertions
assertEqualXMLStructure(), assertEqualXMLStructure(), Assertions
assertFalse(), assertFalse(), Assertions
assertFileEquals(), assertFileEquals(), Assertions
assertFileExists(), assertFileExists(), Assertions
assertFileNotEquals(), assertFileEquals(), Assertions
assertFileNotExists(), assertFileExists(), Assertions
assertGreaterThan(), assertGreaterThan(), Assertions
assertGreaterThanOrEqual(), assertGreaterThanOrEqual(), Assertions
assertInstanceOf(), assertInstanceOf(), Assertions
assertInternalType(), assertInternalType(), Assertions
Assertions, Automating Tests
assertJsonFileEqualsJsonFile(), assertJsonFileEqualsJsonFile(), Assertions
assertJsonFileNotEqualsJsonFile(), assertJsonFileEqualsJsonFile(), Assertions
assertJsonStringEqualsJsonFile(), assertJsonStringEqualsJsonFile(), Assertions
assertJsonStringEqualsJsonString(), assertJsonStringEqualsJsonString(), Assertions
assertJsonStringNotEqualsJsonFile(), assertJsonStringEqualsJsonFile(), Assertions
assertJsonStringNotEqualsJsonString(), assertJsonStringEqualsJsonString(), Assertions
assertLessThan(), assertLessThan(), Assertions
assertLessThanOrEqual(), assertLessThanOrEqual(), Assertions
assertNotContains(), assertContains(), Assertions
assertNotContainsOnly(), assertContainsOnly(), Assertions
assertNotCount(), assertCount(), Assertions
assertNotEmpty(), assertEmpty(), Assertions
assertNotEquals(), assertEquals(), Assertions
assertNotInstanceOf(), assertInstanceOf(), Assertions
assertNotInternalType(), assertInternalType(), Assertions
assertNotNull(), assertNull(), Assertions
assertNotRegExp(), assertRegExp(), Assertions
assertNotSame(), assertSame(), Assertions
assertNotSameSize(), Assertions
assertNotTag(), assertTag(), Assertions
assertNull(), assertNull(), Assertions
assertObjectHasAttribute(), assertObjectHasAttribute(), Assertions
assertObjectNotHasAttribute(), assertObjectHasAttribute(), Assertions
assertPostConditions(), Fixtures
assertPreConditions(), Fixtures
assertRegExp(), assertRegExp(), Assertions
assertSame(), assertSame(), Assertions
assertSameSize(), Assertions
assertSelectCount(), assertSelectCount(), Assertions
assertSelectEquals(), assertSelectEquals(), Assertions
assertSelectRegExp(), assertSelectRegExp(), Assertions
assertStringEndsNotWith(), assertStringEndsWith(), Assertions
assertStringEndsWith(), assertStringEndsWith(), Assertions
assertStringEqualsFile(), assertStringEqualsFile(), Assertions
assertStringMatchesFormat(), assertStringMatchesFormat(), Assertions
assertStringMatchesFormatFile(), assertStringMatchesFormatFile(), Assertions
assertStringNotEqualsFile(), assertStringEqualsFile(), Assertions
assertStringNotMatchesFormat(), assertStringMatchesFormat(), Assertions
assertStringNotMatchesFormatFile(), assertStringMatchesFormatFile(), Assertions
assertStringStartsNotWith(), assertStringStartsWith(), Assertions
assertStringStartsWith(), assertStringStartsWith(), Assertions
assertTag(), assertTag(), Assertions
assertThat(), assertThat(), Assertions
assertTrue(), assertTrue(), Assertions
assertXmlFileEqualsXmlFile(), assertXmlFileEqualsXmlFile(), Assertions
assertXmlFileNotEqualsXmlFile(), assertXmlFileEqualsXmlFile(), Assertions
assertXmlStringEqualsXmlFile(), assertXmlStringEqualsXmlFile(), Assertions
assertXmlStringEqualsXmlString(), assertXmlStringEqualsXmlString(), Assertions
assertXmlStringNotEqualsXmlFile(), assertXmlStringEqualsXmlFile(), Assertions
assertXmlStringNotEqualsXmlString(), assertXmlStringEqualsXmlString(), Assertions
attribute(), assertThat()
attributeEqualTo(), assertThat()
Automated Documentation, Agile Documentation
Automated Test, Automating Tests

D

Data-Driven Tests, Implement PHPUnit_Framework_Test
Defect Localization, Test Dependencies
Depended-On Component, Test Doubles
Design-by-Contract, Test-Driven Development
Documenting Assumptions, Agile Documentation
Domain-Driven Design, Behaviour-Driven Development

F

Failure, The Command-Line Test Runner
fileExists(), assertThat()
Fixture, Fixtures
Fluent Interface, Stubs

G

getMock(), Stubs
getMockBuilder(), Stubs
getMockForAbstractClass(), Mock Objects
getMockFromWsdl(), Stubbing and Mocking Web Services
Global Variable, Global State, Setting PHP INI settings, Constants and Global Variables
greaterThan(), assertThat()
greaterThanOrEqual(), assertThat()

H

hasAttribute(), assertThat()

I

identicalTo(), assertThat()
include_path, Command-Line switches
Incomplete Test, Incomplete Tests, Generating a Test Case Class Skeleton
isFalse(), assertThat()
isInstanceOf(), assertThat()
isNull(), assertThat()
isTrue(), assertThat()
isType(), assertThat()

L

lessThan(), assertThat()
lessThanOrEqual(), assertThat()
Logfile, Command-Line switches
Logging, Logging, Logging
logicalAnd(), assertThat()
logicalNot(), assertThat()
logicalOr(), assertThat()
logicalXor(), assertThat()

M

matchesRegularExpression(), assertThat()
method(), Stubs
Mock Object, Mock Objects

O

onConsecutiveCalls(), Stubs
onNotSuccessfulTest(), Fixtures

P

PHP Error, Testing PHP Errors
PHP Notice, Testing PHP Errors
PHP Warning, Testing PHP Errors
php.ini, Setting PHP INI settings, Constants and Global Variables
PHPUnit_Extensions_RepeatedTest, Subclass PHPUnit_Extensions_TestDecorator
PHPUnit_Extensions_Selenium2TestCase, PHPUnit_Extensions_Selenium2TestCase
PHPUnit_Extensions_SeleniumTestCase, PHPUnit_Extensions_SeleniumTestCase
PHPUnit_Extensions_Story_TestCase, Behaviour-Driven Development
PHPUnit_Extensions_TestDecorator, Subclass PHPUnit_Extensions_TestDecorator
PHPUnit_Extensions_TestSetup, Subclass PHPUnit_Extensions_TestDecorator
PHPUnit_Framework_Assert, BankAccount Example
PHPUnit_Framework_Error, Testing PHP Errors
PHPUnit_Framework_Error_Notice, Testing PHP Errors
PHPUnit_Framework_Error_Warning, Testing PHP Errors
PHPUnit_Framework_IncompleteTest, Incomplete Tests
PHPUnit_Framework_IncompleteTestError, Incomplete Tests
PHPUnit_Framework_Test, Implement PHPUnit_Framework_Test
PHPUnit_Framework_TestCase, Writing Tests for PHPUnit, Subclass PHPUnit_Framework_TestCase
PHPUnit_Framework_TestListener, Command-Line switches, Implement PHPUnit_Framework_TestListener, Test Listeners
PHPUnit_Runner_TestSuiteLoader, Command-Line switches
PHPUnit_Util_Printer, Command-Line switches
PHP_Invoker, @large, @medium, @small
Process Isolation, Command-Line switches

R

Refactoring, During Development
Report, Command-Line switches
returnArgument(), Stubs
returnCallback(), Stubs
returnSelf(), Stubs
returnValue(), Stubs
returnValueMap(), Stubs

S

Selenium RC, Configuring Browsers for Selenium RC
Selenium Server, Selenium Server
setUp(), Fixtures
setUpBeforeClass, Sharing Fixture
setUpBeforeClass(), Fixtures
Skeleton Generator, Generating a Test Case Class Skeleton
Strict Mode, Command-Line switches
stringContains(), assertThat()
stringEndsWith(), assertThat()
stringStartsWith(), assertThat()
Stub, Stubs
Stubs, Cross-Team Tests
System Under Test, Test Doubles

T

tearDown(), Fixtures
tearDownAfterClass, Sharing Fixture
tearDownAfterClass(), Fixtures
Template Method, Fixtures
Test Dependencies, Test Dependencies
Test Double, Test Doubles
Test Groups, Command-Line switches, Groups
Test Isolation, Command-Line switches, Global State
Test Listener, Test Listeners
Test Suite, Organizing Tests, Test Suites
Test-Driven Development, Test-Driven Development, Behaviour-Driven Development
Test-First Programming, Test-Driven Development
TestDox, Agile Documentation, @testdox
throwException(), Stubs
timeoutForLargeTests, @large
timeoutForMediumTests, @medium
timeoutForSmallTests, @small
Please open a ticket on GitHub to suggest improvements to this page. Thanks!