Annexe D. Index

Index

Symboles

$backupGlobalsBlacklist, Etat global
$backupStaticAttributesBlacklist, Etat global
@author, Options de la ligne de commandes, @author
@backupGlobals, Etat global, @backupGlobals
@backupStaticAttributes, Etat global, @backupStaticAttributes
@codeCoverageIgnore, Ignorer des blocs de code, @codeCoverageIgnore*
@codeCoverageIgnoreEnd, Ignorer des blocs de code, @codeCoverageIgnore*
@codeCoverageIgnoreStart, Ignorer des blocs de code, @codeCoverageIgnore*
@covers, Spécifier les méthodes couvertes, @covers
@coversDefaultClass, @coversDefaultClass
@coversNothing, Spécifier les méthodes couvertes, @coversNothing
@dataProvider, Fournisseur de données, @dataProvider
@depends, Dépendances des tests, Fournisseur de données, @depends
@expectedException, Tester des exceptions, @expectedException
@expectedExceptionCode, @expectedExceptionCode
@expectedExceptionMessage, @expectedExceptionMessage
@expectedExceptionMessageRegExp, @expectedExceptionMessageRegExp
@group, Options de la ligne de commandes, @group
@large, @large
@medium, @medium
@preserveGlobalState, @preserveGlobalState
@requires, @requires
@runInSeparateProcess, @runInSeparateProcess
@runTestsInSeparateProcesses, @runTestsInSeparateProcesses
@small, @small
@test, @test
@testdox, @testdox
@ticket, @ticket
@uses, @uses

A

Annotation, Écrire des tests pour PHPUnit, Dépendances des tests, Fournisseur de données, Tester des exceptions, Options de la ligne de commandes, Ignorer des blocs de code, Spécifier les méthodes couvertes, Annotations
anything(), assertThat()
arrayHasKey(), assertThat()
assertArrayHasKey(), assertArrayHasKey()
assertArrayNotHasKey(), assertArrayHasKey()
assertArraySubset(), assertArraySubset()
assertAttributeContains(), assertContains()
assertAttributeContainsOnly(), assertContainsOnly()
assertAttributeEmpty(), assertEmpty()
assertAttributeEquals(), assertEquals()
assertAttributeGreaterThan(), assertGreaterThan()
assertAttributeGreaterThanOrEqual(), assertGreaterThanOrEqual()
assertAttributeInstanceOf(), assertInstanceOf()
assertAttributeInternalType(), assertInternalType()
assertAttributeLessThan(), assertLessThan()
assertAttributeLessThanOrEqual(), assertLessThanOrEqual()
assertAttributeNotContains(), assertContains()
assertAttributeNotContainsOnly(), assertContainsOnly()
assertAttributeNotEmpty(), assertEmpty()
assertAttributeNotEquals(), assertEquals()
assertAttributeNotInstanceOf(), assertInstanceOf()
assertAttributeNotInternalType(), assertInternalType()
assertAttributeNotSame(), assertSame()
assertAttributeSame(), assertSame()
assertClassHasAttribute(), assertClassHasAttribute()
assertClassHasStaticAttribute(), assertClassHasStaticAttribute()
assertClassNotHasAttribute(), assertClassHasAttribute()
assertClassNotHasStaticAttribute(), assertClassHasStaticAttribute()
assertContains(), assertContains()
assertContainsOnly(), assertContainsOnly()
assertContainsOnlyInstancesOf(), assertContainsOnlyInstancesOf()
assertCount(), assertCount()
assertDirectoryExists(), assertDirectoryExists()
assertDirectoryIsReadable(), assertDirectoryIsReadable()
assertDirectoryIsWritable(), assertDirectoryIsWritable()
assertDirectoryNotExists(), assertDirectoryExists()
assertDirectoryNotIsReadable(), assertDirectoryIsReadable()
assertDirectoryNotIsWritable(), assertDirectoryIsWritable()
assertEmpty(), assertEmpty()
assertEquals(), assertEquals()
assertEqualXMLStructure(), assertEqualXMLStructure()
assertFalse(), assertFalse()
assertFileEquals(), assertFileEquals()
assertFileExists(), assertFileExists()
assertFileIsReadable(), assertFileIsReadable()
assertFileIsWritable(), assertFileIsWritable()
assertFileNotEquals(), assertFileEquals()
assertFileNotExists(), assertFileExists()
assertFileNotIsReadable(), assertFileIsReadable()
assertFileNotIsWritable(), assertFileIsWritable()
assertFinite(), assertInfinite()
assertGreaterThan(), assertGreaterThan()
assertGreaterThanOrEqual(), assertGreaterThanOrEqual()
assertInfinite(), assertInfinite()
assertInstanceOf(), assertInstanceOf()
assertInternalType(), assertInternalType()
assertIsReadable(), assertIsReadable()
assertIsWritable(), assertIsWritable()
assertJsonFileEqualsJsonFile(), assertJsonFileEqualsJsonFile()
assertJsonFileNotEqualsJsonFile(), assertJsonFileEqualsJsonFile()
assertJsonStringEqualsJsonFile(), assertJsonStringEqualsJsonFile()
assertJsonStringEqualsJsonString(), assertJsonStringEqualsJsonString()
assertJsonStringNotEqualsJsonFile(), assertJsonStringEqualsJsonFile()
assertJsonStringNotEqualsJsonString(), assertJsonStringEqualsJsonString()
assertLessThan(), assertLessThan()
assertLessThanOrEqual(), assertLessThanOrEqual()
assertNan(), assertNan()
assertNotContains(), assertContains()
assertNotContainsOnly(), assertContainsOnly()
assertNotCount(), assertCount()
assertNotEmpty(), assertEmpty()
assertNotEquals(), assertEquals()
assertNotInstanceOf(), assertInstanceOf()
assertNotInternalType(), assertInternalType()
assertNotIsReadable(), assertIsReadable()
assertNotIsWritable(), assertIsWritable()
assertNotNull(), assertNull()
assertNotRegExp(), assertRegExp()
assertNotSame(), assertSame()
assertNull(), assertNull()
assertObjectHasAttribute(), assertObjectHasAttribute()
assertObjectNotHasAttribute(), assertObjectHasAttribute()
assertPostConditions(), Fixtures
assertPreConditions(), Fixtures
assertRegExp(), assertRegExp()
assertSame(), assertSame()
assertStringEndsNotWith(), assertStringEndsWith()
assertStringEndsWith(), assertStringEndsWith()
assertStringEqualsFile(), assertStringEqualsFile()
assertStringMatchesFormat(), assertStringMatchesFormat()
assertStringMatchesFormatFile(), assertStringMatchesFormatFile()
assertStringNotEqualsFile(), assertStringEqualsFile()
assertStringNotMatchesFormat(), assertStringMatchesFormat()
assertStringNotMatchesFormatFile(), assertStringMatchesFormatFile()
assertStringStartsNotWith(), assertStringStartsWith()
assertStringStartsWith(), assertStringStartsWith()
assertThat(), assertThat()
assertTrue(), assertTrue()
assertXmlFileEqualsXmlFile(), assertXmlFileEqualsXmlFile()
assertXmlFileNotEqualsXmlFile(), assertXmlFileEqualsXmlFile()
assertXmlStringEqualsXmlFile(), assertXmlStringEqualsXmlFile()
assertXmlStringEqualsXmlString(), assertXmlStringEqualsXmlString()
assertXmlStringNotEqualsXmlFile(), assertXmlStringEqualsXmlFile()
assertXmlStringNotEqualsXmlString(), assertXmlStringEqualsXmlString()
attribute(), assertThat()
attributeEqualTo(), assertThat()
Avertissement PHP, Tester les erreurs PHP

B

Bouchon, Bouchons
Bouchons, Tests inter-équipes

D

Dépendances des tests, Dépendances des tests
directoryExists(), assertThat()
Documentation agile, Options de la ligne de commandes, Documentation agile
Documentation automatisée, Documentation agile
Documenter les hypothèses, Documentation agile
Doublure de test, Doublure de test

E

Echec, Le lanceur de tests en ligne de commandes
Écouteurs de tests, Écouteurs de tests
equalTo(), assertThat()
Erreur, Le lanceur de tests en ligne de commandes
Erreur PHP, Tester les erreurs PHP
Exception, Tester des exceptions
expectException(), Tester des exceptions
expectExceptionCode(), Tester des exceptions
expectExceptionMessage(), Tester des exceptions
expectExceptionMessageRegExp(), Tester des exceptions
Extreme Programming, Documentation agile

F

fileExists(), assertThat()
Fixture, Fixtures

G

Gestionnaire d'erreur, Tester les erreurs PHP
getMockBuilder(), Objets Mock
getMockForAbstractClass(), Mocker les Traits et les classes abstraites
getMockForTrait(), Mocker les Traits et les classes abstraites
getMockFromWsdl(), Bouchon et simulacre pour Web Services
greaterThan(), assertThat()
greaterThanOrEqual(), assertThat()
Groupes de tests, Options de la ligne de commandes, Groupes

H

hasAttribute(), assertThat()

I

identicalTo(), assertThat()
include_path, Options de la ligne de commandes
Indépendance des tests, Etat global
Interface souple, Bouchons
isFalse(), assertThat()
isInstanceOf(), assertThat()
isNull(), assertThat()
Isolation de test, Options de la ligne de commandes
isReadable(), assertThat()
isTrue(), assertThat()
isType(), assertThat()
isWritable(), assertThat()

J

Journalisation, Journalisation, Journalisation

L

L'index Change Risk Anti-Patterns (CRAP), Indicateurs logiciels pour la couverture de code
lessThan(), assertThat()
lessThanOrEqual(), assertThat()
Liste blanche, Inclure des fichiers de la couverture de code
Localisation des défauts, Dépendances des tests
Logfile, Options de la ligne de commandes
logicalAnd(), assertThat()
logicalNot(), assertThat()
logicalOr(), assertThat()
logicalXor(), assertThat()

M

matchesRegularExpression(), assertThat()
method(), Bouchons
Méthode template, Fixtures

O

Objet mock, Objets Mock
onConsecutiveCalls(), Bouchons
onNotSuccessfulTest(), Fixtures

P

php.ini, Configurer les réglages de PHP INI, les constantes et les variables globales
PHPUnit\Framework\Error, Tester les erreurs PHP
PHPUnit\Framework\Error\Notice, Tester les erreurs PHP
PHPUnit\Framework\Error\Warning, Tester les erreurs PHP
PHPUnit\Framework\TestCase, Écrire des tests pour PHPUnit, Sous-classe PHPUnit\Framework\TestCase
PHPUnit\Framework\TestListener, Options de la ligne de commandes, Implémenter PHPUnit\Framework\TestListener, Écouteurs de tests
PHPUnit_Extensions_RepeatedTest, Hériter de PHPUnit_Extensions_TestDecorator
PHPUnit_Extensions_TestDecorator, Hériter de PHPUnit_Extensions_TestDecorator
PHPUnit_Framework_BaseTestListener, Implémenter PHPUnit\Framework\TestListener
PHPUnit_Framework_IncompleteTest, Tests incomplets
PHPUnit_Framework_IncompleteTestError, Tests incomplets
PHPUnit_Framework_Test, Implémenter PHPUnit_Framework_Test
PHPUnit_Runner_TestSuiteLoader, Options de la ligne de commandes
PHPUnit_Util_Printer, Options de la ligne de commandes
PHP_Invoker, @large, @medium, @small
Processus indépendants, Options de la ligne de commandes

R

Rapport, Options de la ligne de commandes
Refactorisation, Pendant le développement
Remarque PHP, Tester les erreurs PHP
returnArgument(), Bouchons
returnCallback(), Bouchons
returnSelf(), Bouchons
returnValueMap(), Bouchons

S

Série de tests, Série de tests
setUp(), Fixtures
setUpBeforeClass, Partager les Fixtures
setUpBeforeClass(), Fixtures
stringContains(), assertThat()
stringEndsWith(), assertThat()
stringStartsWith(), assertThat()
Suite de tests, Organiser les tests
Système en cours de test, Doublure de test

T

tearDown(), Fixtures
tearDownAfterClass, Partager les Fixtures
tearDownAfterClass(), Fixtures
Test incomplet, Tests incomplets
TestDox, Documentation agile, @testdox
Tests dirigés par les données, Implémenter PHPUnit_Framework_Test
Tests indépendants, Options de la ligne de commandes
throwException(), Bouchons
timeoutForLargeTests, @large
timeoutForMediumTests, @medium
timeoutForSmallTests, @small

W

will(), Bouchons
willReturn(), Bouchons
Ouvrez un ticket sur GitHub pour proposer des améliorations à cette page. Merci!