A
Assert — Class in namespace PHPUnit\Framework
A set of assertion methods. Assert ::assertArrayHasKey () — Method in class Assert
Asserts that an array has a specified key. Assert ::assertArraySubset () — Method in class Assert
Asserts that an array has a specified subset. Assert ::assertArrayNotHasKey () — Method in class Assert
Asserts that an array does not have a specified key. Assert ::assertContains () — Method in class Assert
Asserts that a haystack contains a needle. Assert ::assertAttributeContains () — Method in class Assert
Asserts that a haystack that is stored in a static attribute of a class
or an attribute of an object contains a needle. Assert ::assertNotContains () — Method in class Assert
Asserts that a haystack does not contain a needle. Assert ::assertAttributeNotContains () — Method in class Assert
Asserts that a haystack that is stored in a static attribute of a class
or an attribute of an object does not contain a needle. Assert ::assertContainsOnly () — Method in class Assert
Asserts that a haystack contains only values of a given type. Assert ::assertContainsOnlyInstancesOf () — Method in class Assert
Asserts that a haystack contains only instances of a given classname Assert ::assertAttributeContainsOnly () — Method in class Assert
Asserts that a haystack that is stored in a static attribute of a class
or an attribute of an object contains only values of a given type. Assert ::assertNotContainsOnly () — Method in class Assert
Asserts that a haystack does not contain only values of a given type. Assert ::assertAttributeNotContainsOnly () — Method in class Assert
Asserts that a haystack that is stored in a static attribute of a class
or an attribute of an object does not contain only values of a given
type. Assert ::assertCount () — Method in class Assert
Asserts the number of elements of an array, Countable or Traversable. Assert ::assertAttributeCount () — Method in class Assert
Asserts the number of elements of an array, Countable or Traversable
that is stored in an attribute. Assert ::assertNotCount () — Method in class Assert
Asserts the number of elements of an array, Countable or Traversable. Assert ::assertAttributeNotCount () — Method in class Assert
Asserts the number of elements of an array, Countable or Traversable
that is stored in an attribute. Assert ::assertEquals () — Method in class Assert
Asserts that two variables are equal. Assert ::assertAttributeEquals () — Method in class Assert
Asserts that a variable is equal to an attribute of an object. Assert ::assertNotEquals () — Method in class Assert
Asserts that two variables are not equal. Assert ::assertAttributeNotEquals () — Method in class Assert
Asserts that a variable is not equal to an attribute of an object. Assert ::assertEmpty () — Method in class Assert
Asserts that a variable is empty. Assert ::assertAttributeEmpty () — Method in class Assert
Asserts that a static attribute of a class or an attribute of an object
is empty. Assert ::assertNotEmpty () — Method in class Assert
Asserts that a variable is not empty. Assert ::assertAttributeNotEmpty () — Method in class Assert
Asserts that a static attribute of a class or an attribute of an object
is not empty. Assert ::assertGreaterThan () — Method in class Assert
Asserts that a value is greater than another value. Assert ::assertAttributeGreaterThan () — Method in class Assert
Asserts that an attribute is greater than another value. Assert ::assertGreaterThanOrEqual () — Method in class Assert
Asserts that a value is greater than or equal to another value. Assert ::assertAttributeGreaterThanOrEqual () — Method in class Assert
Asserts that an attribute is greater than or equal to another value. Assert ::assertLessThan () — Method in class Assert
Asserts that a value is smaller than another value. Assert ::assertAttributeLessThan () — Method in class Assert
Asserts that an attribute is smaller than another value. Assert ::assertLessThanOrEqual () — Method in class Assert
Asserts that a value is smaller than or equal to another value. Assert ::assertAttributeLessThanOrEqual () — Method in class Assert
Asserts that an attribute is smaller than or equal to another value. Assert ::assertFileEquals () — Method in class Assert
Asserts that the contents of one file is equal to the contents of another
file. Assert ::assertFileNotEquals () — Method in class Assert
Asserts that the contents of one file is not equal to the contents of
another file. Assert ::assertStringEqualsFile () — Method in class Assert
Asserts that the contents of a string is equal
to the contents of a file. Assert ::assertStringNotEqualsFile () — Method in class Assert
Asserts that the contents of a string is not equal
to the contents of a file. Assert ::assertIsReadable () — Method in class Assert
Asserts that a file/dir is readable. Assert ::assertNotIsReadable () — Method in class Assert
Asserts that a file/dir exists and is not readable. Assert ::assertIsWritable () — Method in class Assert
Asserts that a file/dir exists and is writable. Assert ::assertNotIsWritable () — Method in class Assert
Asserts that a file/dir exists and is not writable. Assert ::assertDirectoryExists () — Method in class Assert
Asserts that a directory exists. Assert ::assertDirectoryNotExists () — Method in class Assert
Asserts that a directory does not exist. Assert ::assertDirectoryIsReadable () — Method in class Assert
Asserts that a directory exists and is readable. Assert ::assertDirectoryNotIsReadable () — Method in class Assert
Asserts that a directory exists and is not readable. Assert ::assertDirectoryIsWritable () — Method in class Assert
Asserts that a directory exists and is writable. Assert ::assertDirectoryNotIsWritable () — Method in class Assert
Asserts that a directory exists and is not writable. Assert ::assertFileExists () — Method in class Assert
Asserts that a file exists. Assert ::assertFileNotExists () — Method in class Assert
Asserts that a file does not exist. Assert ::assertFileIsReadable () — Method in class Assert
Asserts that a file exists and is readable. Assert ::assertFileNotIsReadable () — Method in class Assert
Asserts that a file exists and is not readable. Assert ::assertFileIsWritable () — Method in class Assert
Asserts that a file exists and is writable. Assert ::assertFileNotIsWritable () — Method in class Assert
Asserts that a file exists and is not writable. Assert ::assertTrue () — Method in class Assert
Asserts that a condition is true. Assert ::assertNotTrue () — Method in class Assert
Asserts that a condition is not true. Assert ::assertFalse () — Method in class Assert
Asserts that a condition is false. Assert ::assertNotFalse () — Method in class Assert
Asserts that a condition is not false. Assert ::assertNull () — Method in class Assert
Asserts that a variable is null. Assert ::assertNotNull () — Method in class Assert
Asserts that a variable is not null. Assert ::assertFinite () — Method in class Assert
Asserts that a variable is finite. Assert ::assertInfinite () — Method in class Assert
Asserts that a variable is infinite. Assert ::assertNan () — Method in class Assert
Asserts that a variable is nan. Assert ::assertClassHasAttribute () — Method in class Assert
Asserts that a class has a specified attribute. Assert ::assertClassNotHasAttribute () — Method in class Assert
Asserts that a class does not have a specified attribute. Assert ::assertClassHasStaticAttribute () — Method in class Assert
Asserts that a class has a specified static attribute. Assert ::assertClassNotHasStaticAttribute () — Method in class Assert
Asserts that a class does not have a specified static attribute. Assert ::assertObjectHasAttribute () — Method in class Assert
Asserts that an object has a specified attribute. Assert ::assertObjectNotHasAttribute () — Method in class Assert
Asserts that an object does not have a specified attribute. Assert ::assertSame () — Method in class Assert
Asserts that two variables have the same type and value. Assert ::assertAttributeSame () — Method in class Assert
Asserts that a variable and an attribute of an object have the same type
and value. Assert ::assertNotSame () — Method in class Assert
Asserts that two variables do not have the same type and value. Assert ::assertAttributeNotSame () — Method in class Assert
Asserts that a variable and an attribute of an object do not have the
same type and value. Assert ::assertInstanceOf () — Method in class Assert
Asserts that a variable is of a given type. Assert ::assertAttributeInstanceOf () — Method in class Assert
Asserts that an attribute is of a given type. Assert ::assertNotInstanceOf () — Method in class Assert
Asserts that a variable is not of a given type. Assert ::assertAttributeNotInstanceOf () — Method in class Assert
Asserts that an attribute is of a given type. Assert ::assertInternalType () — Method in class Assert
Asserts that a variable is of a given type. Assert ::assertAttributeInternalType () — Method in class Assert
Asserts that an attribute is of a given type. Assert ::assertNotInternalType () — Method in class Assert
Asserts that a variable is not of a given type. Assert ::assertAttributeNotInternalType () — Method in class Assert
Asserts that an attribute is of a given type. Assert ::assertRegExp () — Method in class Assert
Asserts that a string matches a given regular expression. Assert ::assertNotRegExp () — Method in class Assert
Asserts that a string does not match a given regular expression. Assert ::assertSameSize () — Method in class Assert
Assert that the size of two arrays (or Countable
or Traversable
objects)
is the same. Assert ::assertNotSameSize () — Method in class Assert
Assert that the size of two arrays (or Countable
or Traversable
objects)
is not the same. Assert ::assertStringMatchesFormat () — Method in class Assert
Asserts that a string matches a given format string. Assert ::assertStringNotMatchesFormat () — Method in class Assert
Asserts that a string does not match a given format string. Assert ::assertStringMatchesFormatFile () — Method in class Assert
Asserts that a string matches a given format file. Assert ::assertStringNotMatchesFormatFile () — Method in class Assert
Asserts that a string does not match a given format string. Assert ::assertStringStartsWith () — Method in class Assert
Asserts that a string starts with a given prefix. Assert ::assertStringStartsNotWith () — Method in class Assert
Asserts that a string starts not with a given prefix. Assert ::assertStringEndsWith () — Method in class Assert
Asserts that a string ends with a given suffix. Assert ::assertStringEndsNotWith () — Method in class Assert
Asserts that a string ends not with a given suffix. Assert ::assertXmlFileEqualsXmlFile () — Method in class Assert
Asserts that two XML files are equal. Assert ::assertXmlFileNotEqualsXmlFile () — Method in class Assert
Asserts that two XML files are not equal. Assert ::assertXmlStringEqualsXmlFile () — Method in class Assert
Asserts that two XML documents are equal. Assert ::assertXmlStringNotEqualsXmlFile () — Method in class Assert
Asserts that two XML documents are not equal. Assert ::assertXmlStringEqualsXmlString () — Method in class Assert
Asserts that two XML documents are equal. Assert ::assertXmlStringNotEqualsXmlString () — Method in class Assert
Asserts that two XML documents are not equal. Assert ::assertEqualXMLStructure () — Method in class Assert
Asserts that a hierarchy of DOMElements matches. Assert ::assertThat () — Method in class Assert
Evaluates a PHPUnit\Framework\Constraint matcher object. Assert ::assertJson () — Method in class Assert
Asserts that a string is a valid JSON string. Assert ::assertJsonStringEqualsJsonString () — Method in class Assert
Asserts that two given JSON encoded objects or arrays are equal. Assert ::assertJsonStringNotEqualsJsonString () — Method in class Assert
Asserts that two given JSON encoded objects or arrays are not equal. Assert ::assertJsonStringEqualsJsonFile () — Method in class Assert
Asserts that the generated JSON encoded object and the content of the given file are equal. Assert ::assertJsonStringNotEqualsJsonFile () — Method in class Assert
Asserts that the generated JSON encoded object and the content of the given file are not equal. Assert ::assertJsonFileEqualsJsonFile () — Method in class Assert
Asserts that two JSON files are equal. Assert ::assertJsonFileNotEqualsJsonFile () — Method in class Assert
Asserts that two JSON files are not equal. Assert ::anything () — Method in class Assert
Assert ::attribute () — Method in class Assert
Assert ::arrayHasKey () — Method in class Assert
Assert ::attributeEqualTo () — Method in class Assert
AssertionFailedError — Class in namespace PHPUnit\Framework
Thrown when an assertion failed. ArrayHasKey — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the array it is evaluated for has a given key. ArraySubset — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the array it is evaluated for has a specified subset. Attribute — Class in namespace PHPUnit\Framework\Constraint
$Attribute — Property in class Attribute
$ClassHasAttribute — Property in class ClassHasAttribute
Constraint ::additionalFailureDescription () — Method in class Constraint
Return additional failure description where needed StringMatchesFormatDescription ::additionalFailureDescription () — Method in class StringMatchesFormatDescription
Return additional failure description where needed TestCase ::addToAssertionCount () — Method in class TestCase
Adds a value to the assertion counter. TestCase ::any () — Method in class TestCase
Returns a matcher that matches when the method is executed
zero or more times. TestCase ::atLeast () — Method in class TestCase
Returns a matcher that matches when the method is executed
at least N times. TestCase ::atLeastOnce () — Method in class TestCase
Returns a matcher that matches when the method is executed at least once. TestCase ::atMost () — Method in class TestCase
Returns a matcher that matches when the method is executed
at most N times. TestCase ::at () — Method in class TestCase
Returns a matcher that matches when the method is executed
at the given index. TestCase ::assertPreConditions () — Method in class TestCase
Performs assertions shared by all tests of a test case. TestCase ::assertPostConditions () — Method in class TestCase
Performs assertions shared by all tests of a test case. TestListener ::addError () — Method in class TestListener
An error occurred. TestListener ::addWarning () — Method in class TestListener
A warning occurred. TestListener ::addFailure () — Method in class TestListener
A failure occurred. TestListener ::addIncompleteTest () — Method in class TestListener
Incomplete test. TestListener ::addRiskyTest () — Method in class TestListener
Risky test. TestListener ::addSkippedTest () — Method in class TestListener
Skipped test. TestListenerDefaultImplementation ::addError () — Method in class TestListenerDefaultImplementation
TestListenerDefaultImplementation ::addWarning () — Method in class TestListenerDefaultImplementation
TestListenerDefaultImplementation ::addFailure () — Method in class TestListenerDefaultImplementation
TestListenerDefaultImplementation ::addIncompleteTest () — Method in class TestListenerDefaultImplementation
TestListenerDefaultImplementation ::addRiskyTest () — Method in class TestListenerDefaultImplementation
TestListenerDefaultImplementation ::addSkippedTest () — Method in class TestListenerDefaultImplementation
TestResult ::addListener () — Method in class TestResult
Registers a TestListener. TestResult ::addError () — Method in class TestResult
Adds an error to the list of errors. TestResult ::addWarning () — Method in class TestResult
Adds a warning to the list of warnings. TestResult ::addFailure () — Method in class TestResult
Adds a failure to the list of failures. TestResult ::allHarmless () — Method in class TestResult
Returns true if no risky test occurred. TestResult ::allCompletelyImplemented () — Method in class TestResult
Returns true if no incomplete test occurred. TestSuite ::addTest () — Method in class TestSuite
Adds a test to the suite. TestSuite ::addTestSuite () — Method in class TestSuite
Adds the tests from the given class to the suite. TestSuite ::addTestFile () — Method in class TestSuite
Wraps both addTest()
and addTestSuite
as well as the separate import statements for the user's convenience. TestSuite ::addTestFiles () — Method in class TestSuite
Wrapper for addTestFile() that adds multiple test files. TestSuite ::addTestMethod () — Method in class TestSuite
Factory ::addFilter () — Method in class Factory
GroupFilterIterator ::accept () — Method in class GroupFilterIterator
NameFilterIterator ::accept () — Method in class NameFilterIterator
$Command — Property in class Command
ResultPrinter ::addError () — Method in class ResultPrinter
An error occurred. ResultPrinter ::addFailure () — Method in class ResultPrinter
A failure occurred. ResultPrinter ::addWarning () — Method in class ResultPrinter
A warning occurred. ResultPrinter ::addIncompleteTest () — Method in class ResultPrinter
Incomplete test. ResultPrinter ::addRiskyTest () — Method in class ResultPrinter
Risky test. ResultPrinter ::addSkippedTest () — Method in class ResultPrinter
Skipped test. GlobalState ::arrayOnlyContainsScalars () — Method in class GlobalState
JUnit ::addError () — Method in class JUnit
An error occurred. JUnit ::addWarning () — Method in class JUnit
A warning occurred. JUnit ::addFailure () — Method in class JUnit
A failure occurred. JUnit ::addIncompleteTest () — Method in class JUnit
Incomplete test. JUnit ::addRiskyTest () — Method in class JUnit
Risky test. JUnit ::addSkippedTest () — Method in class JUnit
Skipped test. TeamCity ::addError () — Method in class TeamCity
An error occurred. TeamCity ::addWarning () — Method in class TeamCity
A warning occurred. TeamCity ::addFailure () — Method in class TeamCity
A failure occurred. TeamCity ::addIncompleteTest () — Method in class TeamCity
Incomplete test. TeamCity ::addRiskyTest () — Method in class TeamCity
Risky test. TeamCity ::addSkippedTest () — Method in class TeamCity
Skipped test. AbstractPhpProcess — Class in namespace PHPUnit\Util\PHP
Utility methods for PHP sub-processes. $AbstractPhpProcess — Property in class AbstractPhpProcess
$Printer — Property in class Printer
If true, flush output after every write. ResultPrinter ::addError () — Method in class ResultPrinter
An error occurred. ResultPrinter ::addWarning () — Method in class ResultPrinter
A warning occurred. ResultPrinter ::addFailure () — Method in class ResultPrinter
A failure occurred. ResultPrinter ::addIncompleteTest () — Method in class ResultPrinter
Incomplete test. ResultPrinter ::addRiskyTest () — Method in class ResultPrinter
Risky test. ResultPrinter ::addSkippedTest () — Method in class ResultPrinter
Skipped test. XmlResultPrinter ::addError () — Method in class XmlResultPrinter
An error occurred. XmlResultPrinter ::addWarning () — Method in class XmlResultPrinter
A warning occurred. XmlResultPrinter ::addFailure () — Method in class XmlResultPrinter
A failure occurred. XmlResultPrinter ::addIncompleteTest () — Method in class XmlResultPrinter
Incomplete test. XmlResultPrinter ::addRiskyTest () — Method in class XmlResultPrinter
Risky test. XmlResultPrinter ::addSkippedTest () — Method in class XmlResultPrinter
Skipped test. B
BaseTestListener — Class in namespace PHPUnit\Framework
Implementation of the TestListener interface that does not do anything. $IncompleteTestCase — Property in class IncompleteTestCase
$IncompleteTestCase — Property in class IncompleteTestCase
$SkippedTestCase — Property in class SkippedTestCase
$SkippedTestCase — Property in class SkippedTestCase
$TestCase — Property in class TestCase
Enable or disable the backup and restoration of the $GLOBALS array. $TestCase — Property in class TestCase
$TestCase — Property in class TestCase
Enable or disable the backup and restoration of static attributes. $TestCase — Property in class TestCase
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
TestResult ::beStrictAboutTestsThatDoNotTestAnything () — Method in class TestResult
TestResult ::beStrictAboutOutputDuringTests () — Method in class TestResult
TestResult ::beStrictAboutResourceUsageDuringSmallTests () — Method in class TestResult
TestResult ::beStrictAboutTodoAnnotatedTests () — Method in class TestResult
$TestSuite — Property in class TestSuite
Enable or disable the backup and restoration of the $GLOBALS array. $TestSuite — Property in class TestSuite
Enable or disable the backup and restoration of static attributes. $WarningTestCase — Property in class WarningTestCase
$WarningTestCase — Property in class WarningTestCase
BaseTestRunner — Class in namespace PHPUnit\Runner
Base class for all test runners. Blacklist — Class in namespace PHPUnit\Util
Utility class for blacklisting PHPUnit's own source code files. $Blacklist — Property in class Blacklist
$Filesystem — Property in class Filesystem
C
Assert ::callback () — Method in class Assert
Assert ::contains () — Method in class Assert
Assert ::containsOnly () — Method in class Assert
Assert ::containsOnlyInstancesOf () — Method in class Assert
Assert ::classHasAttribute () — Method in class Assert
Assert ::classHasStaticAttribute () — Method in class Assert
Assert ::countOf () — Method in class Assert
CodeCoverageException — Class in namespace PHPUnit\Framework
Callback — Class in namespace PHPUnit\Framework\Constraint
Constraint that evaluates against a specified closure. ClassHasAttribute — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the class it is evaluated for has a given
attribute. ClassHasStaticAttribute — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the class it is evaluated for has a given
static attribute. Composite — Class in namespace PHPUnit\Framework\Constraint
Composite ::count () — Method in class Composite
Counts the number of constraint elements. Constraint — Class in namespace PHPUnit\Framework\Constraint
Abstract base class for constraints which can be applied to any value. Constraint ::count () — Method in class Constraint
Counts the number of constraint elements. Count — Class in namespace PHPUnit\Framework\Constraint
$Exception — Property in class Exception
IsAnything ::count () — Method in class IsAnything
Counts the number of constraint elements. $IsEqual — Property in class IsEqual
$IsInstanceOf — Property in class IsInstanceOf
$LogicalAnd — Property in class LogicalAnd
LogicalAnd ::count () — Method in class LogicalAnd
Counts the number of constraint elements. $LogicalNot — Property in class LogicalNot
LogicalNot ::count () — Method in class LogicalNot
Counts the number of constraint elements. $LogicalOr — Property in class LogicalOr
LogicalOr ::count () — Method in class LogicalOr
Counts the number of constraint elements. $LogicalXor — Property in class LogicalXor
LogicalXor ::count () — Method in class LogicalXor
Counts the number of constraint elements. StringMatchesFormatDescription ::createPatternFromFormat () — Method in class StringMatchesFormatDescription
$TraversableContains — Property in class TraversableContains
$TraversableContains — Property in class TraversableContains
$TraversableContainsOnly — Property in class TraversableContainsOnly
CoveredCodeNotExecutedException — Class in namespace PHPUnit\Framework
$ExceptionWrapper — Property in class ExceptionWrapper
$ExpectationFailedException — Property in class ExpectationFailedException
TestCase ::count () — Method in class TestCase
Counts the number of test cases executed by run(TestResult result). TestCase ::checkRequirements () — Method in class TestCase
TestCase ::createMock () — Method in class TestCase
Returns a test double for the specified class. TestCase ::createConfiguredMock () — Method in class TestCase
Returns a configured test double for the specified class. TestCase ::createPartialMock () — Method in class TestCase
Returns a partial test double for the specified class. TestCase ::createTestProxy () — Method in class TestCase
Returns a test proxy for the specified class. TestCase ::createResult () — Method in class TestCase
Creates a default TestResult object. $TestResult — Property in class TestResult
Code Coverage information. $TestResult — Property in class TestResult
TestResult ::count () — Method in class TestResult
Gets the number of run tests. TestResult ::convertErrorsToExceptions () — Method in class TestResult
Enables or disables the error-to-exception conversion. TestSuite ::count () — Method in class TestSuite
Counts the number of test cases that will be run by this test. TestSuite ::createTest () — Method in class TestSuite
TestSuite ::createResult () — Method in class TestSuite
Creates a default TestResult object. TestSuiteIterator ::current () — Method in class TestSuiteIterator
Returns the current element. BaseTestRunner ::clearStatus () — Method in class BaseTestRunner
Clears the status message. PhptTestCase ::count () — Method in class PhptTestCase
Counts the number of test cases executed by run(TestResult result). Command — Class in namespace PHPUnit\TextUI
A TestRunner for the Command Line Interface (CLI)
PHP SAPI Module. Command ::createRunner () — Method in class Command
Create a TestRunner, override in subclasses. $ResultPrinter — Property in class ResultPrinter
$ResultPrinter — Property in class ResultPrinter
$TestRunner — Property in class TestRunner
TestRunner ::createTestResult () — Method in class TestRunner
Configuration — Class in namespace PHPUnit\Util
Wrapper for the PHPUnit XML configuration file. ConfigurationGenerator — Class in namespace PHPUnit\Util
Fileloader ::checkAndLoad () — Method in class Fileloader
Checks if a PHP sourcefile is readable. Filesystem ::classNameToFilename () — Method in class Filesystem
Maps class names to source file names:
- PEAR CS: Foo_Bar_Baz -> Foo/Bar/Baz.php
- Namespace: Foo\Bar\Baz -> Foo/Bar/Baz.php $JUnit — Property in class JUnit
DefaultPhpProcess ::cleanup () — Method in class DefaultPhpProcess
$ResultPrinter — Property in class ResultPrinter
$ResultPrinter — Property in class ResultPrinter
D
Assert ::directoryExists () — Method in class Assert
DirectoryExists — Class in namespace PHPUnit\Framework\Constraint
Constraint that checks if the directory(name) that it is evaluated for exists. $IsEqual — Property in class IsEqual
JsonMatchesErrorMessageProvider ::determineJsonError () — Method in class JsonMatchesErrorMessageProvider
Translates JSON error to a human readable string. DataProviderTestSuite — Class in namespace PHPUnit\Framework
Deprecated — Class in namespace PHPUnit\Framework\Error
TestCase ::doesNotPerformAssertions () — Method in class TestCase
TestCase ::dataDescription () — Method in class TestCase
ExcludeGroupFilterIterator ::doAccept () — Method in class ExcludeGroupFilterIterator
GroupFilterIterator ::doAccept () — Method in class GroupFilterIterator
IncludeGroupFilterIterator ::doAccept () — Method in class IncludeGroupFilterIterator
$ResultPrinter — Property in class ResultPrinter
TestRunner ::doRun () — Method in class TestRunner
$Configuration — Property in class Configuration
$JUnit — Property in class JUnit
DefaultPhpProcess — Class in namespace PHPUnit\Util\PHP
Default utility for PHP sub-processes. Test ::describe () — Method in class Test
ResultPrinter ::doEndClass () — Method in class ResultPrinter
E
Exception — Class in namespace PHPUnit
Marker interface for PHPUnit exceptions. Assert ::equalTo () — Method in class Assert
ArraySubset ::evaluate () — Method in class ArraySubset
Evaluates the constraint for parameter $other Attribute ::evaluate () — Method in class Attribute
Evaluates the constraint for parameter $other Composite ::evaluate () — Method in class Composite
Evaluates the constraint for parameter $other $Constraint — Property in class Constraint
Constraint ::evaluate () — Method in class Constraint
Evaluates the constraint for parameter $other $Count — Property in class Count
Exception — Class in namespace PHPUnit\Framework\Constraint
ExceptionCode — Class in namespace PHPUnit\Framework\Constraint
$ExceptionCode — Property in class ExceptionCode
ExceptionMessage — Class in namespace PHPUnit\Framework\Constraint
$ExceptionMessage — Property in class ExceptionMessage
ExceptionMessageRegularExpression — Class in namespace PHPUnit\Framework\Constraint
$ExceptionMessageRegularExpression — Property in class ExceptionMessageRegularExpression
IsAnything ::evaluate () — Method in class IsAnything
Evaluates the constraint for parameter $other IsEqual ::evaluate () — Method in class IsEqual
Evaluates the constraint for parameter $other IsIdentical ::evaluate () — Method in class IsIdentical
Evaluates the constraint for parameter $other LogicalAnd ::evaluate () — Method in class LogicalAnd
Evaluates the constraint for parameter $other LogicalNot ::evaluate () — Method in class LogicalNot
Evaluates the constraint for parameter $other LogicalOr ::evaluate () — Method in class LogicalOr
Evaluates the constraint for parameter $other LogicalXor ::evaluate () — Method in class LogicalXor
Evaluates the constraint for parameter $other $SameSize — Property in class SameSize
TraversableContainsOnly ::evaluate () — Method in class TraversableContainsOnly
Evaluates the constraint for parameter $other $Deprecated — Property in class Deprecated
Error — Class in namespace PHPUnit\Framework\Error
Wrapper for PHP errors. $Notice — Property in class Notice
$Warning — Property in class Warning
Exception — Class in namespace PHPUnit\Framework
Base class for all PHPUnit Framework exceptions. ExceptionWrapper — Class in namespace PHPUnit\Framework
Wraps Exceptions thrown by code under test. ExpectationFailedException — Class in namespace PHPUnit\Framework
Exception for expectations which failed their check. TestCase ::expectOutputRegex () — Method in class TestCase
TestCase ::expectOutputString () — Method in class TestCase
TestCase ::expectException () — Method in class TestCase
TestCase ::expectExceptionCode () — Method in class TestCase
TestCase ::expectExceptionMessage () — Method in class TestCase
TestCase ::expectExceptionMessageRegExp () — Method in class TestCase
TestCase ::expectExceptionObject () — Method in class TestCase
Sets up an expectation for an exception to be raised by the code under test. TestCase ::exactly () — Method in class TestCase
Returns a matcher that matches when the method is executed
exactly $count times. TestFailure ::exceptionToString () — Method in class TestFailure
Returns a description for an exception. TestFailure ::exceptionMessage () — Method in class TestFailure
Returns the exception's message. TestListener ::endTestSuite () — Method in class TestListener
A test suite ended. TestListener ::endTest () — Method in class TestListener
A test ended. TestListenerDefaultImplementation ::endTestSuite () — Method in class TestListenerDefaultImplementation
TestListenerDefaultImplementation ::endTest () — Method in class TestListenerDefaultImplementation
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
TestResult ::endTestSuite () — Method in class TestResult
Informs the result that a testsuite was completed. TestResult ::endTest () — Method in class TestResult
Informs the result that a test was completed. TestResult ::errorCount () — Method in class TestResult
Gets the number of detected errors. TestResult ::errors () — Method in class TestResult
Returns an Enumeration for the errors. TestResult ::enforceTimeLimit () — Method in class TestResult
TestResult ::enforcesTimeLimit () — Method in class TestResult
Exception — Class in namespace PHPUnit\Runner
ExcludeGroupFilterIterator — Class in namespace PHPUnit\Runner\Filter
ResultPrinter ::endTestSuite () — Method in class ResultPrinter
A testsuite ended. ResultPrinter ::endTest () — Method in class ResultPrinter
A test ended. ErrorHandler — Class in namespace PHPUnit\Util
Error handler that converts PHP errors and warnings to exceptions. $ErrorHandler — Property in class ErrorHandler
GlobalState ::exportVariable () — Method in class GlobalState
JUnit ::endTestSuite () — Method in class JUnit
A testsuite ended. JUnit ::endTest () — Method in class JUnit
A test ended. TeamCity ::endTestSuite () — Method in class TeamCity
A testsuite ended. TeamCity ::endTest () — Method in class TeamCity
A test ended. $AbstractPhpProcess — Property in class AbstractPhpProcess
HtmlResultPrinter ::endClass () — Method in class HtmlResultPrinter
Handler for 'end class' event. HtmlResultPrinter ::endRun () — Method in class HtmlResultPrinter
Handler for 'end run' event. ResultPrinter ::endTestSuite () — Method in class ResultPrinter
A testsuite ended. ResultPrinter ::endTest () — Method in class ResultPrinter
A test ended. ResultPrinter ::endClass () — Method in class ResultPrinter
Handler for 'end class' event. ResultPrinter ::endRun () — Method in class ResultPrinter
Handler for 'end run' event. TextResultPrinter ::endClass () — Method in class TextResultPrinter
Handler for 'end class' event. XmlResultPrinter ::endTestSuite () — Method in class XmlResultPrinter
A test suite ended. XmlResultPrinter ::endTest () — Method in class XmlResultPrinter
A test ended. F
Assert ::fileExists () — Method in class Assert
Assert ::fail () — Method in class Assert
Fails a test with the given message. ArrayHasKey ::failureDescription () — Method in class ArrayHasKey
Returns the description of the failure ArraySubset ::failureDescription () — Method in class ArraySubset
Returns the description of the failure Attribute ::failureDescription () — Method in class Attribute
Returns the description of the failure ClassHasAttribute ::failureDescription () — Method in class ClassHasAttribute
Returns the description of the failure Constraint ::fail () — Method in class Constraint
Throws an exception for the given compared value and test description Constraint ::failureDescription () — Method in class Constraint
Returns the description of the failure Count ::failureDescription () — Method in class Count
Returns the description of the failure. DirectoryExists ::failureDescription () — Method in class DirectoryExists
Returns the description of the failure Exception ::failureDescription () — Method in class Exception
Returns the description of the failure ExceptionCode ::failureDescription () — Method in class ExceptionCode
Returns the description of the failure ExceptionMessage ::failureDescription () — Method in class ExceptionMessage
Returns the description of the failure ExceptionMessageRegularExpression ::failureDescription () — Method in class ExceptionMessageRegularExpression
Returns the description of the failure FileExists — Class in namespace PHPUnit\Framework\Constraint
Constraint that checks if the file(name) that it is evaluated for exists. FileExists ::failureDescription () — Method in class FileExists
Returns the description of the failure IsEmpty ::failureDescription () — Method in class IsEmpty
Returns the description of the failure IsIdentical ::failureDescription () — Method in class IsIdentical
Returns the description of the failure IsInstanceOf ::failureDescription () — Method in class IsInstanceOf
Returns the description of the failure IsJson ::failureDescription () — Method in class IsJson
Returns the description of the failure IsReadable ::failureDescription () — Method in class IsReadable
Returns the description of the failure IsWritable ::failureDescription () — Method in class IsWritable
Returns the description of the failure JsonMatches ::fail () — Method in class JsonMatches
Throws an exception for the given compared value and test description LogicalNot ::failureDescription () — Method in class LogicalNot
Returns the description of the failure StringMatchesFormatDescription ::failureDescription () — Method in class StringMatchesFormatDescription
Returns the description of the failure TraversableContains ::failureDescription () — Method in class TraversableContains
Returns the description of the failure $TestFailure — Property in class TestFailure
TestFailure ::failedTest () — Method in class TestFailure
Returns the failing test. $TestResult — Property in class TestResult
TestResult ::flushListeners () — Method in class TestResult
Flushes all flushable TestListeners. TestResult ::failureCount () — Method in class TestResult
Gets the number of detected failures. TestResult ::failures () — Method in class TestResult
Returns an Enumeration for the failures. $TestSuite — Property in class TestSuite
Factory — Class in namespace PHPUnit\Runner\Filter
Factory ::factory () — Method in class Factory
$NameFilterIterator — Property in class NameFilterIterator
$NameFilterIterator — Property in class NameFilterIterator
$NameFilterIterator — Property in class NameFilterIterator
ResultPrinter ::formatWithColor () — Method in class ResultPrinter
Formats a buffer with a specified ANSI color sequence if colors are
enabled. $Configuration — Property in class Configuration
Fileloader — Class in namespace PHPUnit\Util
Utility methods to load PHP sourcefiles. Filesystem — Class in namespace PHPUnit\Util
Filesystem helpers. Filter — Class in namespace PHPUnit\Util
Utility class for code filtering. InvalidArgumentHelper ::factory () — Method in class InvalidArgumentHelper
JUnit ::flush () — Method in class JUnit
Flush buffer and close output. AbstractPhpProcess ::factory () — Method in class AbstractPhpProcess
Printer ::flush () — Method in class Printer
Flush buffer and close output if it's not to a PHP stream $ResultPrinter — Property in class ResultPrinter
ResultPrinter ::flush () — Method in class ResultPrinter
Flush buffer and close output. XmlResultPrinter ::flush () — Method in class XmlResultPrinter
Flush buffer and close output. G
Assert ::greaterThan () — Method in class Assert
Assert ::greaterThanOrEqual () — Method in class Assert
Assert ::getStaticAttribute () — Method in class Assert
Returns the value of a static attribute. Assert ::getObjectAttribute () — Method in class Assert
Returns the value of an object's attribute. Assert ::getCount () — Method in class Assert
Return the current assertion count. Count ::getCountOf () — Method in class Count
Count ::getCountOfGenerator () — Method in class Count
Returns the total number of iterations from a generator. GreaterThan — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the value it is evaluated for is greater
than a given value. Exception ::getSerializableTrace () — Method in class Exception
Returns the serializable trace (without 'args'). ExceptionWrapper ::getClassName () — Method in class ExceptionWrapper
ExceptionWrapper ::getPreviousWrapped () — Method in class ExceptionWrapper
ExpectationFailedException ::getComparisonFailure () — Method in class ExpectationFailedException
IncompleteTestCase ::getMessage () — Method in class IncompleteTestCase
SkippedTestCase ::getMessage () — Method in class SkippedTestCase
SyntheticError ::getSyntheticFile () — Method in class SyntheticError
SyntheticError ::getSyntheticLine () — Method in class SyntheticError
SyntheticError ::getSyntheticTrace () — Method in class SyntheticError
TestCase ::getGroups () — Method in class TestCase
TestCase ::getAnnotations () — Method in class TestCase
Returns the annotations for this test. TestCase ::getName () — Method in class TestCase
Gets the name of a TestCase. TestCase ::getSize () — Method in class TestCase
Returns the size of the test. TestCase ::getActualOutput () — Method in class TestCase
TestCase ::getExpectedException () — Method in class TestCase
TestCase ::getExpectedExceptionCode () — Method in class TestCase
TestCase ::getExpectedExceptionMessage () — Method in class TestCase
TestCase ::getExpectedExceptionMessageRegExp () — Method in class TestCase
TestCase ::getStatus () — Method in class TestCase
Returns the status of this test. TestCase ::getStatusMessage () — Method in class TestCase
Returns the status message of this test. TestCase ::getResult () — Method in class TestCase
TestCase ::getTestResultObject () — Method in class TestCase
TestCase ::getMockBuilder () — Method in class TestCase
Returns a builder object to create mock objects using a fluent interface. TestCase ::getMockClass () — Method in class TestCase
Mocks the specified class and returns the name of the mocked class. TestCase ::getMockForAbstractClass () — Method in class TestCase
Returns a mock object for the specified abstract class with all abstract
methods of the class mocked. Concrete methods are not mocked by default. TestCase ::getMockFromWsdl () — Method in class TestCase
Returns a mock object based on the given WSDL file. TestCase ::getMockForTrait () — Method in class TestCase
Returns a mock object for the specified trait with all abstract methods
of the trait mocked. Concrete methods to mock can be specified with the
$mockedMethods
parameter. TestCase ::getObjectForTrait () — Method in class TestCase
Returns an object for the specified trait. TestCase ::getNumAssertions () — Method in class TestCase
Returns the number of assertions performed by this test. TestCase ::getDataSetAsString () — Method in class TestCase
Gets the data set description of a TestCase. TestCase ::getProvidedData () — Method in class TestCase
Gets the data set of a TestCase. TestFailure ::getExceptionAsString () — Method in class TestFailure
Returns a description for the thrown exception. TestFailure ::getTestName () — Method in class TestFailure
Returns the name of the failing test (including data set, if any). TestResult ::getCollectCodeCoverageInformation () — Method in class TestResult
Returns whether code coverage information should be collected. TestResult ::getCodeCoverage () — Method in class TestResult
Returns the code coverage object. TestResult ::getConvertErrorsToExceptions () — Method in class TestResult
Returns the error-to-exception conversion setting. TestResult ::getTimeoutForLargeTests () — Method in class TestResult
Returns the set timeout for large tests. TestResult ::getHierarchy () — Method in class TestResult
Returns the class hierarchy for a given class. $TestSuite — Property in class TestSuite
The test groups of the test suite. TestSuite ::getName () — Method in class TestSuite
Returns the name of the suite. TestSuite ::getGroups () — Method in class TestSuite
Returns the test groups of the suite. TestSuite ::getGroupDetails () — Method in class TestSuite
TestSuite ::getIterator () — Method in class TestSuite
Returns an iterator for this test suite. TestSuiteIterator ::getChildren () — Method in class TestSuiteIterator
Returns the sub iterator for the current element. WarningTestCase ::getMessage () — Method in class WarningTestCase
BaseTestRunner ::getLoader () — Method in class BaseTestRunner
Returns the loader to be used. BaseTestRunner ::getTest () — Method in class BaseTestRunner
Returns the Test corresponding to the given suite. GroupFilterIterator — Class in namespace PHPUnit\Runner\Filter
$GroupFilterIterator — Property in class GroupFilterIterator
PhptTestCase ::getName () — Method in class PhptTestCase
Returns the name of the test case. Version ::getVersionString () — Method in class Version
Version ::getReleaseChannel () — Method in class Version
TestRunner ::getLoader () — Method in class TestRunner
Returns the loader to be used. Blacklist ::getBlacklistedDirectories () — Method in class Blacklist
Configuration ::getInstance () — Method in class Configuration
Returns a PHPUnit configuration object. Configuration ::getFilename () — Method in class Configuration
Returns the realpath to the configuration file. Configuration ::getFilterConfiguration () — Method in class Configuration
Returns the configuration for SUT filtering. Configuration ::getGroupConfiguration () — Method in class Configuration
Returns the configuration for groups. Configuration ::getTestdoxGroupConfiguration () — Method in class Configuration
Returns the configuration for testdox groups. Configuration ::getListenerConfiguration () — Method in class Configuration
Returns the configuration for listeners. Configuration ::getLoggingConfiguration () — Method in class Configuration
Returns the logging configuration. Configuration ::getPHPConfiguration () — Method in class Configuration
Returns the PHP configuration. Configuration ::getPHPUnitConfiguration () — Method in class Configuration
Returns the PHPUnit configuration. Configuration ::getTestSuiteConfiguration () — Method in class Configuration
Returns the test suite configuration. Configuration ::getTestSuiteNames () — Method in class Configuration
Returns the test suite names from the configuration. Configuration ::getTestSuite () — Method in class Configuration
Configuration ::getBoolean () — Method in class Configuration
if $value is 'false' or 'true', this returns the value that $value represents. Configuration ::getInteger () — Method in class Configuration
ConfigurationGenerator ::generateDefaultConfiguration () — Method in class ConfigurationGenerator
ErrorHandler ::getErrorStack () — Method in class ErrorHandler
Returns the error stack. Filter ::getFilteredStacktrace () — Method in class Filter
Filters stack frames from PHPUnit classes. Getopt — Class in namespace PHPUnit\Util
Command-line options parsing class. Getopt ::getopt () — Method in class Getopt
GlobalState — Class in namespace PHPUnit\Util
GlobalState ::getIncludedFilesAsString () — Method in class GlobalState
GlobalState ::getIniSettingsAsString () — Method in class GlobalState
GlobalState ::getConstantsAsString () — Method in class GlobalState
GlobalState ::getGlobalsAsString () — Method in class GlobalState
GlobalState ::getSuperGlobalArrays () — Method in class GlobalState
JUnit ::getXML () — Method in class JUnit
Returns the XML as a string. AbstractPhpProcess ::getStdin () — Method in class AbstractPhpProcess
Returns the input string to be sent via STDIN AbstractPhpProcess ::getArgs () — Method in class AbstractPhpProcess
Returns the string of arguments to pass to the php job AbstractPhpProcess ::getEnv () — Method in class AbstractPhpProcess
Returns the array of environment variables to start the child process with AbstractPhpProcess ::getTimeout () — Method in class AbstractPhpProcess
Returns the amount of seconds to wait before timing out AbstractPhpProcess ::getCommand () — Method in class AbstractPhpProcess
Returns the command based into the configurations. DefaultPhpProcess ::getHandles () — Method in class DefaultPhpProcess
Returns an array of file handles to be used in place of pipes WindowsPhpProcess ::getHandles () — Method in class WindowsPhpProcess
Returns an array of file handles to be used in place of pipes WindowsPhpProcess ::getCommand () — Method in class WindowsPhpProcess
Returns the command based into the configurations. Printer ::getAutoFlush () — Method in class Printer
Check auto-flush mode. Test ::getLinesToBeCovered () — Method in class Test
Test ::getLinesToBeUsed () — Method in class Test
Returns lines of code specified with the @uses annotation. Test ::getRequirements () — Method in class Test
Returns the requirements for a test. Test ::getMissingRequirements () — Method in class Test
Returns the missing requirements for a test. Test ::getExpectedException () — Method in class Test
Returns the expected exception for a test. Test ::getProvidedData () — Method in class Test
Returns the provided data for a method. Test ::getDataFromTestWithAnnotation () — Method in class Test
Test ::getInlineAnnotations () — Method in class Test
Test ::getBackupSettings () — Method in class Test
Returns the backup settings for a test. Test ::getDependencies () — Method in class Test
Returns the dependencies for a test class or method. Test ::getErrorHandlerSettings () — Method in class Test
Returns the error handler settings for a test. Test ::getGroups () — Method in class Test
Returns the groups for a test class or method. Test ::getSize () — Method in class Test
Returns the size of the test. Test ::getProcessIsolationSettings () — Method in class Test
Returns the process isolation settings for a test. Test ::getClassProcessIsolationSettings () — Method in class Test
Test ::getPreserveGlobalStateSettings () — Method in class Test
Returns the preserve global state settings for a test. Test ::getHookMethods () — Method in class Test
H
TestCase ::hasSize () — Method in class TestCase
TestCase ::hasOutput () — Method in class TestCase
TestCase ::hasExpectationOnOutput () — Method in class TestCase
TestCase ::hasFailed () — Method in class TestCase
Returns whether or not this test has failed. TestCase ::hasDependencies () — Method in class TestCase
Returns true if the tests has dependencies TestCase ::handleDependencies () — Method in class TestCase
TestSuiteIterator ::hasChildren () — Method in class TestSuiteIterator
Checks whether the current element has children. Command ::handleArguments () — Method in class Command
Handles the command-line arguments. Command ::handleLoader () — Method in class Command
Handles the loading of the PHPUnit\Runner\TestSuiteLoader implementation. Command ::handlePrinter () — Method in class Command
Handles the loading of the PHPUnit\Util\Printer implementation. Command ::handleBootstrap () — Method in class Command
Loads a bootstrap file. Command ::handleVersionCheck () — Method in class Command
Command ::handleCustomTestSuite () — Method in class Command
Custom callback for test suite discovery. TestRunner ::handleConfiguration () — Method in class TestRunner
Configuration ::handlePHPConfiguration () — Method in class Configuration
Handles the PHP configuration. ErrorHandler ::handleError () — Method in class ErrorHandler
ErrorHandler ::handleErrorOnce () — Method in class ErrorHandler
Registers an error handler and returns a function that will restore
the previous handler when invoked HtmlResultPrinter — Class in namespace PHPUnit\Util\TestDox
Prints TestDox documentation in HTML format. I
Assert ::isTrue () — Method in class Assert
Assert ::isFalse () — Method in class Assert
Assert ::isJson () — Method in class Assert
Assert ::isNull () — Method in class Assert
Assert ::isFinite () — Method in class Assert
Assert ::isInfinite () — Method in class Assert
Assert ::isNan () — Method in class Assert
Assert ::isEmpty () — Method in class Assert
Assert ::isWritable () — Method in class Assert
Assert ::isReadable () — Method in class Assert
Assert ::identicalTo () — Method in class Assert
Assert ::isInstanceOf () — Method in class Assert
Assert ::isType () — Method in class Assert
$Composite — Property in class Composite
IsAnything — Class in namespace PHPUnit\Framework\Constraint
Constraint that accepts any input value. IsEmpty — Class in namespace PHPUnit\Framework\Constraint
Constraint that checks whether a variable is empty(). IsEqual — Class in namespace PHPUnit\Framework\Constraint
Constraint that checks if one value is equal to another. $IsEqual — Property in class IsEqual
IsFalse — Class in namespace PHPUnit\Framework\Constraint
Constraint that accepts false. IsFinite — Class in namespace PHPUnit\Framework\Constraint
Constraint that accepts finite. IsIdentical — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that one value is identical to another. IsInfinite — Class in namespace PHPUnit\Framework\Constraint
Constraint that accepts infinite. IsInstanceOf — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the object it is evaluated for is an instance
of a given class. IsJson — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that a string is valid JSON. IsNan — Class in namespace PHPUnit\Framework\Constraint
Constraint that accepts nan. IsNull — Class in namespace PHPUnit\Framework\Constraint
Constraint that accepts null. IsReadable — Class in namespace PHPUnit\Framework\Constraint
Constraint that checks if the file/dir(name) that it is evaluated for is readable. IsTrue — Class in namespace PHPUnit\Framework\Constraint
Constraint that accepts true. IsType — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the value it is evaluated for is of a
specified type. IsWritable — Class in namespace PHPUnit\Framework\Constraint
Constraint that checks if the file/dir(name) that it is evaluated for is writable. $StringContains — Property in class StringContains
IncompleteTest — Class in namespace PHPUnit\Framework
A marker interface for marking any exception/error as result of an unit
test as incomplete implementation or currently not implemented. IncompleteTestCase — Class in namespace PHPUnit\Framework
An incomplete test case IncompleteTestError — Class in namespace PHPUnit\Framework
InvalidCoversTargetException — Class in namespace PHPUnit\Framework
TestCase ::isSmall () — Method in class TestCase
TestCase ::isMedium () — Method in class TestCase
TestCase ::isLarge () — Method in class TestCase
TestCase ::isInIsolation () — Method in class TestCase
TestCase ::iniSet () — Method in class TestCase
This method is a wrapper for the ini_set() function that automatically
resets the modified php.ini setting to its original value after the
test is run. TestFailure ::isFailure () — Method in class TestFailure
Returns true if the thrown exception
is of type AssertionFailedError. TestResult ::isStrictAboutTestsThatDoNotTestAnything () — Method in class TestResult
TestResult ::isStrictAboutOutputDuringTests () — Method in class TestResult
TestResult ::isStrictAboutResourceUsageDuringSmallTests () — Method in class TestResult
TestResult ::isStrictAboutTodoAnnotatedTests () — Method in class TestResult
TestSuite ::isTestMethod () — Method in class TestSuite
TestSuite ::incompleteTest () — Method in class TestSuite
TestSuite ::injectFilter () — Method in class TestSuite
IncludeGroupFilterIterator — Class in namespace PHPUnit\Runner\Filter
Version ::id () — Method in class Version
Returns the current version of PHPUnit. Blacklist ::isBlacklisted () — Method in class Blacklist
InvalidArgumentHelper — Class in namespace PHPUnit\Util
Factory for PHPUnit\Framework\Exception objects that are used to describe
invalid arguments passed to a function or method. Printer ::incrementalFlush () — Method in class Printer
Performs a safe, incremental flush. $ResultPrinter — Property in class ResultPrinter
Type ::isType () — Method in class Type
J
JsonMatches — Class in namespace PHPUnit\Framework\Constraint
Asserts whether or not two JSON objects are equal. JsonMatchesErrorMessageProvider — Class in namespace PHPUnit\Framework\Constraint
Provides human readable messages for each JSON error. JUnit — Class in namespace PHPUnit\Util\Log
A TestListener that generates a logfile of the test execution in XML markup. K
$ArrayHasKey — Property in class ArrayHasKey
TestSuiteIterator ::key () — Method in class TestSuiteIterator
Returns the key of the current element. L
Assert ::logicalAnd () — Method in class Assert
Assert ::logicalOr () — Method in class Assert
Assert ::logicalNot () — Method in class Assert
Assert ::logicalXor () — Method in class Assert
Assert ::lessThan () — Method in class Assert
Assert ::lessThanOrEqual () — Method in class Assert
$IsEqual — Property in class IsEqual
LessThan — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the value it is evaluated for is less than
a given value. LogicalAnd — Class in namespace PHPUnit\Framework\Constraint
Logical AND. $LogicalAnd — Property in class LogicalAnd
LogicalNot — Class in namespace PHPUnit\Framework\Constraint
Logical NOT. LogicalOr — Class in namespace PHPUnit\Framework\Constraint
Logical OR. LogicalXor — Class in namespace PHPUnit\Framework\Constraint
Logical XOR. $TestResult — Property in class TestResult
$TestResult — Property in class TestResult
BaseTestRunner ::loadSuiteClass () — Method in class BaseTestRunner
Returns the loaded ReflectionClass for a suite name. StandardTestSuiteLoader ::load () — Method in class StandardTestSuiteLoader
TestSuiteLoader ::load () — Method in class TestSuiteLoader
$Command — Property in class Command
$ResultPrinter — Property in class ResultPrinter
$TestRunner — Property in class TestRunner
Fileloader ::load () — Method in class Fileloader
Loads a PHP sourcefile. Xml ::load () — Method in class Xml
Load an $actual document into a DOMDocument. This is called
from the selector assertions. Xml ::loadFile () — Method in class Xml
Loads an XML (or HTML) file into a DOMDocument object. M
Assert ::matchesRegularExpression () — Method in class Assert
Assert ::matches () — Method in class Assert
Assert ::markTestIncomplete () — Method in class Assert
Mark the test as incomplete. Assert ::markTestSkipped () — Method in class Assert
Mark the test as skipped. ArrayHasKey ::matches () — Method in class ArrayHasKey
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. Callback ::matches () — Method in class Callback
Evaluates the constraint for parameter $value. Returns true if the
constraint is met, false otherwise. ClassHasAttribute ::matches () — Method in class ClassHasAttribute
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. ClassHasStaticAttribute ::matches () — Method in class ClassHasStaticAttribute
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. Constraint ::matches () — Method in class Constraint
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. Count ::matches () — Method in class Count
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. DirectoryExists ::matches () — Method in class DirectoryExists
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. Exception ::matches () — Method in class Exception
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. ExceptionCode ::matches () — Method in class ExceptionCode
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. ExceptionMessage ::matches () — Method in class ExceptionMessage
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. ExceptionMessageRegularExpression ::matches () — Method in class ExceptionMessageRegularExpression
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. FileExists ::matches () — Method in class FileExists
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. GreaterThan ::matches () — Method in class GreaterThan
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. IsEmpty ::matches () — Method in class IsEmpty
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. $IsEqual — Property in class IsEqual
IsFalse ::matches () — Method in class IsFalse
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. IsFinite ::matches () — Method in class IsFinite
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. IsInfinite ::matches () — Method in class IsInfinite
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. IsInstanceOf ::matches () — Method in class IsInstanceOf
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. IsJson ::matches () — Method in class IsJson
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. IsNan ::matches () — Method in class IsNan
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. IsNull ::matches () — Method in class IsNull
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. IsReadable ::matches () — Method in class IsReadable
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. IsTrue ::matches () — Method in class IsTrue
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. IsType ::matches () — Method in class IsType
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. IsWritable ::matches () — Method in class IsWritable
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. JsonMatches ::matches () — Method in class JsonMatches
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. LessThan ::matches () — Method in class LessThan
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. ObjectHasAttribute ::matches () — Method in class ObjectHasAttribute
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. RegularExpression ::matches () — Method in class RegularExpression
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. StringContains ::matches () — Method in class StringContains
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. StringEndsWith ::matches () — Method in class StringEndsWith
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. StringStartsWith ::matches () — Method in class StringStartsWith
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. TraversableContains ::matches () — Method in class TraversableContains
Evaluates the constraint for parameter $other. Returns true if the
constraint is met, false otherwise. $IncompleteTestCase — Property in class IncompleteTestCase
MissingCoversAnnotationException — Class in namespace PHPUnit\Framework
$SkippedTestCase — Property in class SkippedTestCase
TestCase ::markAsRisky () — Method in class TestCase
TestSuite ::markTestSuiteSkipped () — Method in class TestSuite
Mark the test suite as skipped. $WarningTestCase — Property in class WarningTestCase
Command ::main () — Method in class Command
$ResultPrinter — Property in class ResultPrinter
N
LogicalNot ::negate () — Method in class LogicalNot
Notice — Class in namespace PHPUnit\Framework\Error
TestCase ::never () — Method in class TestCase
Returns a matcher that matches when the method is never executed. $TestResult — Property in class TestResult
TestResult ::notImplementedCount () — Method in class TestResult
Gets the number of incomplete tests. TestResult ::notImplemented () — Method in class TestResult
Returns an Enumeration for the incomplete tests. TestResult ::noneSkipped () — Method in class TestResult
Returns true if no test has been skipped. $TestSuite — Property in class TestSuite
The name of the test suite. $TestSuite — Property in class TestSuite
The number of tests in the test suite. TestSuiteIterator ::next () — Method in class TestSuiteIterator
Moves forward to next element. NameFilterIterator — Class in namespace PHPUnit\Runner\Filter
$ResultPrinter — Property in class ResultPrinter
$ResultPrinter — Property in class ResultPrinter
$ResultPrinter — Property in class ResultPrinter
$ResultPrinter — Property in class ResultPrinter
NamePrettifier — Class in namespace PHPUnit\Util\TestDox
Prettifies class and method names for use in TestDox documentation. O
Assert ::objectHasAttribute () — Method in class Assert
ObjectHasAttribute — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the object it is evaluated for has a given
attribute. OutputError — Class in namespace PHPUnit\Framework
TestCase ::once () — Method in class TestCase
Returns a matcher that matches when the method is executed exactly once. TestCase ::onConsecutiveCalls () — Method in class TestCase
TestCase ::onNotSuccessfulTest () — Method in class TestCase
This method is called when a test method did not execute successfully. $Command — Property in class Command
$Printer — Property in class Printer
$Printer — Property in class Printer
HtmlResultPrinter ::onTest () — Method in class HtmlResultPrinter
Handler for 'on test' event. ResultPrinter ::onTest () — Method in class ResultPrinter
Handler for 'on test' event. TextResultPrinter ::onTest () — Method in class TextResultPrinter
Handler for 'on test' event. P
$RegularExpression — Property in class RegularExpression
$StringStartsWith — Property in class StringStartsWith
$ExceptionWrapper — Property in class ExceptionWrapper
$TestCase — Property in class TestCase
Whether or not this test should preserve the global state when
running in a separate PHP process. TestCase ::prophesize () — Method in class TestCase
TestCase ::prepareTemplate () — Method in class TestCase
Performs custom preparations on the process isolation template. $TestResult — Property in class TestResult
TestResult ::passed () — Method in class TestResult
Returns the names of the tests that have passed. $TestSuiteIterator — Property in class TestSuiteIterator
PhptTestCase — Class in namespace PHPUnit\Runner
Runner for PHPT test cases. PhptTestCase ::parseIniSection () — Method in class PhptTestCase
Parse --INI-- section key value pairs and return as array. PhptTestCase ::parseEnvSection () — Method in class PhptTestCase
ResultPrinter ::printResult () — Method in class ResultPrinter
ResultPrinter ::printDefects () — Method in class ResultPrinter
ResultPrinter ::printDefect () — Method in class ResultPrinter
ResultPrinter ::printDefectHeader () — Method in class ResultPrinter
ResultPrinter ::printDefectTrace () — Method in class ResultPrinter
ResultPrinter ::printErrors () — Method in class ResultPrinter
ResultPrinter ::printFailures () — Method in class ResultPrinter
ResultPrinter ::printWarnings () — Method in class ResultPrinter
ResultPrinter ::printIncompletes () — Method in class ResultPrinter
ResultPrinter ::printRisky () — Method in class ResultPrinter
ResultPrinter ::printSkipped () — Method in class ResultPrinter
ResultPrinter ::printHeader () — Method in class ResultPrinter
ResultPrinter ::printFooter () — Method in class ResultPrinter
ResultPrinter ::printWaitPrompt () — Method in class ResultPrinter
$TestRunner — Property in class TestRunner
Getopt ::parseShortOption () — Method in class Getopt
Getopt ::parseLongOption () — Method in class Getopt
GlobalState ::processIncludedFilesAsString () — Method in class GlobalState
TeamCity ::printResult () — Method in class TeamCity
TeamCity ::printIgnoredTest () — Method in class TeamCity
DefaultPhpProcess ::process () — Method in class DefaultPhpProcess
Printer — Class in namespace PHPUnit\Util
Utility class that can print to STDOUT or write to a file. Test ::parseTestMethodAnnotations () — Method in class Test
$NamePrettifier — Property in class NamePrettifier
NamePrettifier ::prettifyTestClass () — Method in class NamePrettifier
Prettifies the name of a test class. NamePrettifier ::prettifyTestMethod () — Method in class NamePrettifier
Prettifies the name of a test method. $ResultPrinter — Property in class ResultPrinter
Xml ::prepareString () — Method in class Xml
Escapes a string for the use in XML documents
Any Unicode character is allowed, excluding the surrogate blocks, FFFE,
and FFFF (not even as character reference). R
Assert ::readAttribute () — Method in class Assert
Returns the value of an attribute of a class or an object. Assert ::resetCount () — Method in class Assert
Reset the assertion counter. RegularExpression — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the string it is evaluated for matches
a regular expression. $IncompleteTestCase — Property in class IncompleteTestCase
IncompleteTestCase ::runTest () — Method in class IncompleteTestCase
RiskyTest — Class in namespace PHPUnit\Framework
RiskyTestError — Class in namespace PHPUnit\Framework
$SkippedTestCase — Property in class SkippedTestCase
SkippedTestCase ::runTest () — Method in class SkippedTestCase
Test ::run () — Method in class Test
Runs a test and collects its result in a TestResult instance. $TestCase — Property in class TestCase
Whether or not this test is to be run in a separate PHP process. TestCase ::run () — Method in class TestCase
Runs the test case and collects the results in a TestResult object. TestCase ::runBare () — Method in class TestCase
Runs the bare test sequence. TestCase ::runTest () — Method in class TestCase
Override to run the test and assert its state. TestCase ::registerMockObject () — Method in class TestCase
TestCase ::returnValue () — Method in class TestCase
TestCase ::returnValueMap () — Method in class TestCase
TestCase ::returnArgument () — Method in class TestCase
TestCase ::returnCallback () — Method in class TestCase
TestCase ::returnSelf () — Method in class TestCase
Returns the current object. TestCase ::registerComparator () — Method in class TestCase
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
TestResult ::removeListener () — Method in class TestResult
Unregisters a TestListener. TestResult ::riskyCount () — Method in class TestResult
Gets the number of risky tests. TestResult ::risky () — Method in class TestResult
Returns an Enumeration for the risky tests. TestResult ::run () — Method in class TestResult
Runs a TestCase. $TestSuite — Property in class TestSuite
TestSuite ::run () — Method in class TestSuite
Runs the tests and collects their result in a TestResult. TestSuite ::runTest () — Method in class TestSuite
Runs a test. TestSuiteIterator ::rewind () — Method in class TestSuiteIterator
Rewinds the Iterator to the first element. $WarningTestCase — Property in class WarningTestCase
WarningTestCase ::runTest () — Method in class WarningTestCase
BaseTestRunner ::runFailed () — Method in class BaseTestRunner
Override to define how to handle a failed loading of
a test suite. PhptTestCase ::run () — Method in class PhptTestCase
Runs a test and collects its result in a TestResult instance. StandardTestSuiteLoader ::reload () — Method in class StandardTestSuiteLoader
TestSuiteLoader ::reload () — Method in class TestSuiteLoader
Command ::run () — Method in class Command
ResultPrinter — Class in namespace PHPUnit\TextUI
Prints the result of a TextUI TestRunner run. TestRunner ::run () — Method in class TestRunner
TestRunner ::runFailed () — Method in class TestRunner
Override to define how to handle a failed loading of
a test suite. Configuration ::readFilterDirectories () — Method in class Configuration
Configuration ::readFilterFiles () — Method in class Configuration
$JUnit — Property in class JUnit
$JUnit — Property in class JUnit
$AbstractPhpProcess — Property in class AbstractPhpProcess
AbstractPhpProcess ::runTestJob () — Method in class AbstractPhpProcess
Runs a single test in a separate PHP process. AbstractPhpProcess ::runJob () — Method in class AbstractPhpProcess
Runs a single job (PHP code) using a separate PHP process. DefaultPhpProcess ::runJob () — Method in class DefaultPhpProcess
Runs a single job (PHP code) using a separate PHP process. DefaultPhpProcess ::runProcess () — Method in class DefaultPhpProcess
Handles creating the child process and returning the STDOUT and STDERR RegularExpression — Class in namespace PHPUnit\Util
Error handler that converts PHP errors and warnings to exceptions. ResultPrinter — Class in namespace PHPUnit\Util\TestDox
Base class for printers of TestDox documentation. $ResultPrinter — Property in class ResultPrinter
TextTestListRenderer ::render () — Method in class TextTestListRenderer
Xml ::removeCharacterDataNodes () — Method in class Xml
XmlTestListRenderer ::render () — Method in class XmlTestListRenderer
S
Assert ::stringStartsWith () — Method in class Assert
Assert ::stringContains () — Method in class Assert
Assert ::stringEndsWith () — Method in class Assert
$ArraySubset — Property in class ArraySubset
$ArraySubset — Property in class ArraySubset
LogicalAnd ::setConstraints () — Method in class LogicalAnd
LogicalOr ::setConstraints () — Method in class LogicalOr
LogicalXor ::setConstraints () — Method in class LogicalXor
SameSize — Class in namespace PHPUnit\Framework\Constraint
StringContains — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the string it is evaluated for contains
a given string. $StringContains — Property in class StringContains
StringEndsWith — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the string it is evaluated for ends with a given
suffix. $StringEndsWith — Property in class StringEndsWith
StringMatchesFormatDescription — Class in namespace PHPUnit\Framework\Constraint
$StringMatchesFormatDescription — Property in class StringMatchesFormatDescription
StringStartsWith — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the string it is evaluated for begins with a
given prefix. DataProviderTestSuite ::setDependencies () — Method in class DataProviderTestSuite
Sets the dependencies of a TestCase. $Exception — Property in class Exception
SelfDescribing — Class in namespace PHPUnit\Framework
Interface for classes that can return a description of itself. SkippedTest — Class in namespace PHPUnit\Framework
SkippedTestCase — Class in namespace PHPUnit\Framework
A skipped test case SkippedTestError — Class in namespace PHPUnit\Framework
SkippedTestSuiteError — Class in namespace PHPUnit\Framework
SyntheticError — Class in namespace PHPUnit\Framework
Creates a synthetic failed assertion. $SyntheticError — Property in class SyntheticError
The synthetic file. $SyntheticError — Property in class SyntheticError
The synthetic line number. $SyntheticError — Property in class SyntheticError
The synthetic trace. TestCase ::setGroups () — Method in class TestCase
TestCase ::setRegisterMockObjectsFromTestArgumentsRecursively () — Method in class TestCase
TestCase ::setExpectedExceptionFromAnnotation () — Method in class TestCase
TestCase ::setUseErrorHandler () — Method in class TestCase
TestCase ::setUseErrorHandlerFromAnnotation () — Method in class TestCase
TestCase ::setName () — Method in class TestCase
Sets the name of a TestCase. TestCase ::setDependencies () — Method in class TestCase
Sets the dependencies of a TestCase. TestCase ::setDependencyInput () — Method in class TestCase
Sets TestCase ::setBeStrictAboutChangesToGlobalState () — Method in class TestCase
TestCase ::setBackupGlobals () — Method in class TestCase
Calling this method in setUp() has no effect! TestCase ::setBackupStaticAttributes () — Method in class TestCase
Calling this method in setUp() has no effect! TestCase ::setRunTestInSeparateProcess () — Method in class TestCase
TestCase ::setRunClassInSeparateProcess () — Method in class TestCase
TestCase ::setPreserveGlobalState () — Method in class TestCase
TestCase ::setInIsolation () — Method in class TestCase
TestCase ::setResult () — Method in class TestCase
TestCase ::setOutputCallback () — Method in class TestCase
TestCase ::setTestResultObject () — Method in class TestCase
TestCase ::setLocale () — Method in class TestCase
This method is a wrapper for the setlocale() function that automatically
resets the locale to its original value after the test is run. TestCase ::setUpBeforeClass () — Method in class TestCase
This method is called before the first test of this test class is run. TestCase ::setUp () — Method in class TestCase
Sets up the fixture, for example, open a network connection. TestListener ::startTestSuite () — Method in class TestListener
A test suite started. TestListener ::startTest () — Method in class TestListener
A test started. TestListenerDefaultImplementation ::startTestSuite () — Method in class TestListenerDefaultImplementation
TestListenerDefaultImplementation ::startTest () — Method in class TestListenerDefaultImplementation
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
TestResult ::startTestSuite () — Method in class TestResult
Informs the result that a testsuite will be started. TestResult ::startTest () — Method in class TestResult
Informs the result that a test will be started. TestResult ::skippedCount () — Method in class TestResult
Gets the number of skipped tests. TestResult ::skipped () — Method in class TestResult
Returns an Enumeration for the skipped tests. TestResult ::shouldStop () — Method in class TestResult
Checks whether the test run should stop. TestResult ::stop () — Method in class TestResult
Marks that the test run should stop. TestResult ::setCodeCoverage () — Method in class TestResult
Sets the code coverage object. TestResult ::stopOnError () — Method in class TestResult
Enables or disables the stopping when an error occurs. TestResult ::stopOnFailure () — Method in class TestResult
Enables or disables the stopping when a failure occurs. TestResult ::stopOnWarning () — Method in class TestResult
Enables or disables the stopping when a warning occurs. TestResult ::stopOnRisky () — Method in class TestResult
Enables or disables the stopping for risky tests. TestResult ::stopOnIncomplete () — Method in class TestResult
Enables or disables the stopping for incomplete tests. TestResult ::stopOnSkipped () — Method in class TestResult
Enables or disables the stopping for skipped tests. TestResult ::setTimeoutForSmallTests () — Method in class TestResult
Sets the timeout for small tests. TestResult ::setTimeoutForMediumTests () — Method in class TestResult
Sets the timeout for medium tests. TestResult ::setTimeoutForLargeTests () — Method in class TestResult
Sets the timeout for large tests. TestResult ::setRegisterMockObjectsFromTestArgumentsRecursively () — Method in class TestResult
TestSuite ::setGroupDetails () — Method in class TestSuite
Set tests groups of the test case TestSuite ::setRunTestInSeparateProcess () — Method in class TestSuite
TestSuite ::setName () — Method in class TestSuite
Sets the name of the suite. TestSuite ::setTests () — Method in class TestSuite
Set tests of the test suite TestSuite ::skipTest () — Method in class TestSuite
TestSuite ::setbeStrictAboutChangesToGlobalState () — Method in class TestSuite
TestSuite ::setBackupGlobals () — Method in class TestSuite
TestSuite ::setBackupStaticAttributes () — Method in class TestSuite
TestSuite ::setUp () — Method in class TestSuite
Template Method that is called before the tests
of this test suite are run. NameFilterIterator ::setFilter () — Method in class NameFilterIterator
StandardTestSuiteLoader — Class in namespace PHPUnit\Runner
The standard test suite loader. Version ::series () — Method in class Version
Command ::showHelp () — Method in class Command
Show the help message. ResultPrinter ::startTestSuite () — Method in class ResultPrinter
A testsuite started. ResultPrinter ::startTest () — Method in class ResultPrinter
A test started. TestRunner ::setPrinter () — Method in class TestRunner
$GlobalState — Property in class GlobalState
JUnit ::startTestSuite () — Method in class JUnit
A testsuite started. JUnit ::startTest () — Method in class JUnit
A test started. JUnit ::setWriteDocument () — Method in class JUnit
Enables or disables the writing of the document
in flush(). TeamCity ::startTestSuite () — Method in class TeamCity
A testsuite started. TeamCity ::startTest () — Method in class TeamCity
A test started. $AbstractPhpProcess — Property in class AbstractPhpProcess
$AbstractPhpProcess — Property in class AbstractPhpProcess
AbstractPhpProcess ::setUseStderrRedirection () — Method in class AbstractPhpProcess
Defines if should use STDERR redirection or not. AbstractPhpProcess ::setStdin () — Method in class AbstractPhpProcess
Sets the input string to be sent via STDIN AbstractPhpProcess ::setArgs () — Method in class AbstractPhpProcess
Sets the string of arguments to pass to the php job AbstractPhpProcess ::setEnv () — Method in class AbstractPhpProcess
Sets the array of environment variables to start the child process with AbstractPhpProcess ::setTimeout () — Method in class AbstractPhpProcess
Sets the amount of seconds to wait before timing out AbstractPhpProcess ::settingsToParameters () — Method in class AbstractPhpProcess
Printer ::setAutoFlush () — Method in class Printer
Set auto-flushing mode. RegularExpression ::safeMatch () — Method in class RegularExpression
HtmlResultPrinter ::startRun () — Method in class HtmlResultPrinter
Handler for 'start run' event. HtmlResultPrinter ::startClass () — Method in class HtmlResultPrinter
Handler for 'start class' event. $NamePrettifier — Property in class NamePrettifier
$NamePrettifier — Property in class NamePrettifier
NamePrettifier ::setPrefix () — Method in class NamePrettifier
Sets the prefix of test names. NamePrettifier ::setSuffix () — Method in class NamePrettifier
Sets the suffix of test names. $ResultPrinter — Property in class ResultPrinter
$ResultPrinter — Property in class ResultPrinter
ResultPrinter ::startTestSuite () — Method in class ResultPrinter
A testsuite started. ResultPrinter ::startTest () — Method in class ResultPrinter
A test started. ResultPrinter ::startRun () — Method in class ResultPrinter
Handler for 'start run' event. ResultPrinter ::startClass () — Method in class ResultPrinter
Handler for 'start class' event. TextResultPrinter ::startClass () — Method in class TextResultPrinter
Handler for 'start class' event. XmlResultPrinter ::startTestSuite () — Method in class XmlResultPrinter
A test suite started. XmlResultPrinter ::startTest () — Method in class XmlResultPrinter
A test started. T
AssertionFailedError ::toString () — Method in class AssertionFailedError
Wrapper for getMessage() which is declared as final. ArrayHasKey ::toString () — Method in class ArrayHasKey
Returns a string representation of the constraint. ArraySubset ::toString () — Method in class ArraySubset
Returns a string representation of the constraint. Attribute ::toString () — Method in class Attribute
Returns a string representation of the constraint. Callback ::toString () — Method in class Callback
Returns a string representation of the constraint. ClassHasAttribute ::toString () — Method in class ClassHasAttribute
Returns a string representation of the constraint. ClassHasStaticAttribute ::toString () — Method in class ClassHasStaticAttribute
Returns a string representation of the constraint. Count ::toString () — Method in class Count
DirectoryExists ::toString () — Method in class DirectoryExists
Returns a string representation of the constraint. Exception ::toString () — Method in class Exception
Returns a string representation of the constraint. ExceptionCode ::toString () — Method in class ExceptionCode
ExceptionMessage ::toString () — Method in class ExceptionMessage
ExceptionMessageRegularExpression ::toString () — Method in class ExceptionMessageRegularExpression
FileExists ::toString () — Method in class FileExists
Returns a string representation of the constraint. GreaterThan ::toString () — Method in class GreaterThan
Returns a string representation of the constraint. IsAnything ::toString () — Method in class IsAnything
Returns a string representation of the constraint. IsEmpty ::toString () — Method in class IsEmpty
Returns a string representation of the constraint. IsEqual ::toString () — Method in class IsEqual
Returns a string representation of the constraint. IsFalse ::toString () — Method in class IsFalse
Returns a string representation of the constraint. IsFinite ::toString () — Method in class IsFinite
Returns a string representation of the constraint. IsIdentical ::toString () — Method in class IsIdentical
Returns a string representation of the constraint. IsInfinite ::toString () — Method in class IsInfinite
Returns a string representation of the constraint. IsInstanceOf ::toString () — Method in class IsInstanceOf
Returns a string representation of the constraint. IsJson ::toString () — Method in class IsJson
Returns a string representation of the constraint. IsNan ::toString () — Method in class IsNan
Returns a string representation of the constraint. IsNull ::toString () — Method in class IsNull
Returns a string representation of the constraint. IsReadable ::toString () — Method in class IsReadable
Returns a string representation of the constraint. IsTrue ::toString () — Method in class IsTrue
Returns a string representation of the constraint. $IsType — Property in class IsType
$IsType — Property in class IsType
IsType ::toString () — Method in class IsType
Returns a string representation of the constraint. IsWritable ::toString () — Method in class IsWritable
Returns a string representation of the constraint. JsonMatches ::toString () — Method in class JsonMatches
Returns a string representation of the object. JsonMatchesErrorMessageProvider ::translateTypeToPrefix () — Method in class JsonMatchesErrorMessageProvider
Translates a given type to a human readable message prefix. LessThan ::toString () — Method in class LessThan
Returns a string representation of the constraint. LogicalAnd ::toString () — Method in class LogicalAnd
Returns a string representation of the constraint. LogicalNot ::toString () — Method in class LogicalNot
Returns a string representation of the constraint. LogicalOr ::toString () — Method in class LogicalOr
Returns a string representation of the constraint. LogicalXor ::toString () — Method in class LogicalXor
Returns a string representation of the constraint. RegularExpression ::toString () — Method in class RegularExpression
Returns a string representation of the constraint. StringContains ::toString () — Method in class StringContains
Returns a string representation of the constraint. StringEndsWith ::toString () — Method in class StringEndsWith
Returns a string representation of the constraint. StringStartsWith ::toString () — Method in class StringStartsWith
Returns a string representation of the constraint. TraversableContains — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the Traversable it is applied to contains
a given value. TraversableContains ::toString () — Method in class TraversableContains
Returns a string representation of the constraint. TraversableContainsOnly — Class in namespace PHPUnit\Framework\Constraint
Constraint that asserts that the Traversable it is applied to contains
only values of a given type. $TraversableContainsOnly — Property in class TraversableContainsOnly
TraversableContainsOnly ::toString () — Method in class TraversableContainsOnly
Returns a string representation of the constraint. IncompleteTestCase ::toString () — Method in class IncompleteTestCase
Returns a string representation of the test case. SelfDescribing ::toString () — Method in class SelfDescribing
Returns a string representation of the object. SkippedTestCase ::toString () — Method in class SkippedTestCase
Returns a string representation of the test case. Test — Class in namespace PHPUnit\Framework
A Test can be run and collect its results. TestCase — Class in namespace PHPUnit\Framework
A TestCase defines the fixture to run multiple tests. TestCase ::toString () — Method in class TestCase
Returns a string representation of the test case. TestCase ::throwException () — Method in class TestCase
TestCase ::tearDown () — Method in class TestCase
Tears down the fixture, for example, close a network connection. TestCase ::tearDownAfterClass () — Method in class TestCase
This method is called after the last test of this test class is run. TestFailure — Class in namespace PHPUnit\Framework
A TestFailure collects a failed test together with the caught exception. $TestFailure — Property in class TestFailure
TestFailure ::toString () — Method in class TestFailure
Returns a short description of the failure. TestFailure ::thrownException () — Method in class TestFailure
Gets the thrown exception. TestListener — Class in namespace PHPUnit\Framework
A Listener for test progress. TestListenerDefaultImplementation — Class in namespace PHPUnit\Framework
TestResult — Class in namespace PHPUnit\Framework
A TestResult collects the results of executing a test case. $TestResult — Property in class TestResult
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
$TestResult — Property in class TestResult
TestResult ::topTestSuite () — Method in class TestResult
Returns the (top) test suite. TestResult ::time () — Method in class TestResult
Returns the time spent running the tests. TestSuite — Class in namespace PHPUnit\Framework
A TestSuite is a composite of Tests. It runs a collection of test cases. $TestSuite — Property in class TestSuite
The tests in the test suite. $TestSuite — Property in class TestSuite
TestSuite ::toString () — Method in class TestSuite
Returns a string representation of the test suite. TestSuite ::testAt () — Method in class TestSuite
Returns the test at the given index. TestSuite ::tests () — Method in class TestSuite
Returns the tests as an enumeration. TestSuite ::tearDown () — Method in class TestSuite
Template Method that is called after the tests
of this test suite have finished running. TestSuiteIterator — Class in namespace PHPUnit\Framework
Iterator for test suites. $TestSuiteIterator — Property in class TestSuiteIterator
Warning ::toString () — Method in class Warning
Wrapper for getMessage() which is declared as final. WarningTestCase ::toString () — Method in class WarningTestCase
Returns a string representation of the test case. PhptTestCase ::toString () — Method in class PhptTestCase
Returns a string representation of the test case. TestSuiteLoader — Class in namespace PHPUnit\Runner
An interface to define how a test suite should be loaded. TestRunner — Class in namespace PHPUnit\TextUI
A TestRunner for the Command Line Interface (CLI)
PHP SAPI Module. Configuration ::toAbsolutePath () — Method in class Configuration
$JUnit — Property in class JUnit
$JUnit — Property in class JUnit
$JUnit — Property in class JUnit
$JUnit — Property in class JUnit
$JUnit — Property in class JUnit
$JUnit — Property in class JUnit
$JUnit — Property in class JUnit
$JUnit — Property in class JUnit
TeamCity — Class in namespace PHPUnit\Util\Log
A TestListener that generates a logfile of the test execution using the
TeamCity format (for use with PhpStorm, for instance). $AbstractPhpProcess — Property in class AbstractPhpProcess
$DefaultPhpProcess — Property in class DefaultPhpProcess
Test — Class in namespace PHPUnit\Util
Test helpers. $ResultPrinter — Property in class ResultPrinter
$ResultPrinter — Property in class ResultPrinter
$ResultPrinter — Property in class ResultPrinter
TextResultPrinter — Class in namespace PHPUnit\Util\TestDox
Prints TestDox documentation in text format. TextTestListRenderer — Class in namespace PHPUnit\Util
Type — Class in namespace PHPUnit\Util
Utility class for textual type (and value) representation. U
$IncompleteTestCase — Property in class IncompleteTestCase
$IncompleteTestCase — Property in class IncompleteTestCase
$SkippedTestCase — Property in class SkippedTestCase
$SkippedTestCase — Property in class SkippedTestCase
TestCase ::usesDataProvider () — Method in class TestCase
UnintentionallyCoveredCodeError — Class in namespace PHPUnit\Framework
Extension to PHPUnit\Framework\AssertionFailedError to mark the special
case of a test that unintentionally covers code. $WarningTestCase — Property in class WarningTestCase
AbstractPhpProcess ::useStderrRedirection () — Method in class AbstractPhpProcess
Returns TRUE if uses STDERR redirection or FALSE if not. $DefaultPhpProcess — Property in class DefaultPhpProcess
$WindowsPhpProcess — Property in class WindowsPhpProcess
V
$GreaterThan — Property in class GreaterThan
$IsEqual — Property in class IsEqual
$IsIdentical — Property in class IsIdentical
$JsonMatches — Property in class JsonMatches
$LessThan — Property in class LessThan
$TraversableContains — Property in class TraversableContains
TestCase ::verifyMockObjects () — Method in class TestCase
Verifies the mock object expectations. TestSuiteIterator ::valid () — Method in class TestSuiteIterator
Checks if there is a current element after calls to rewind() or next(). Version — Class in namespace PHPUnit\Runner
This class defines the current version of PHPUnit. $ResultPrinter — Property in class ResultPrinter
$TestRunner — Property in class TestRunner
W
Warning — Class in namespace PHPUnit\Framework\Error
$TestResult — Property in class TestResult
TestResult ::warningCount () — Method in class TestResult
Gets the number of detected warnings. TestResult ::warnings () — Method in class TestResult
Returns an Enumeration for the warnings. TestResult ::wasSuccessful () — Method in class TestResult
Returns whether the entire test was successful or not. TestSuite ::warning () — Method in class TestSuite
Warning — Class in namespace PHPUnit\Framework
Thrown when there is a warning. WarningTestCase — Class in namespace PHPUnit\Framework
A warning. ResultPrinter ::writeProgress () — Method in class ResultPrinter
ResultPrinter ::writeNewLine () — Method in class ResultPrinter
ResultPrinter ::writeWithColor () — Method in class ResultPrinter
Writes a buffer out with a color sequence if colors are enabled. ResultPrinter ::writeProgressWithColor () — Method in class ResultPrinter
Writes progress with a color sequence if colors are enabled. TestRunner ::write () — Method in class TestRunner
$JUnit — Property in class JUnit
TeamCity ::writeProgress () — Method in class TeamCity
WindowsPhpProcess — Class in namespace PHPUnit\Util\PHP
Windows utility for PHP sub-processes. Printer ::write () — Method in class Printer
$ResultPrinter — Property in class ResultPrinter
X
$Configuration — Property in class Configuration
XmlResultPrinter — Class in namespace PHPUnit\Util\TestDox
Xml — Class in namespace PHPUnit\Util
XML helpers. Xml ::xmlToVariable () — Method in class Xml
"Convert" a DOMElement object into a PHP variable. XmlTestListRenderer — Class in namespace PHPUnit\Util
_
ArrayHasKey ::__construct () — Method in class ArrayHasKey
ArraySubset ::__construct () — Method in class ArraySubset
Attribute ::__construct () — Method in class Attribute
Callback ::__construct () — Method in class Callback
ClassHasAttribute ::__construct () — Method in class ClassHasAttribute
Composite ::__construct () — Method in class Composite
Constraint ::__construct () — Method in class Constraint
Count ::__construct () — Method in class Count
Exception ::__construct () — Method in class Exception
ExceptionCode ::__construct () — Method in class ExceptionCode
ExceptionMessage ::__construct () — Method in class ExceptionMessage
ExceptionMessageRegularExpression ::__construct () — Method in class ExceptionMessageRegularExpression
GreaterThan ::__construct () — Method in class GreaterThan
IsEqual ::__construct () — Method in class IsEqual
IsIdentical ::__construct () — Method in class IsIdentical
IsInstanceOf ::__construct () — Method in class IsInstanceOf
IsType ::__construct () — Method in class IsType
JsonMatches ::__construct () — Method in class JsonMatches
Creates a new constraint. LessThan ::__construct () — Method in class LessThan
LogicalNot ::__construct () — Method in class LogicalNot
RegularExpression ::__construct () — Method in class RegularExpression
SameSize ::__construct () — Method in class SameSize
StringContains ::__construct () — Method in class StringContains
StringEndsWith ::__construct () — Method in class StringEndsWith
StringMatchesFormatDescription ::__construct () — Method in class StringMatchesFormatDescription
StringStartsWith ::__construct () — Method in class StringStartsWith
TraversableContains ::__construct () — Method in class TraversableContains
TraversableContainsOnly ::__construct () — Method in class TraversableContainsOnly
Error ::__construct () — Method in class Error
Constructor. Exception ::__construct () — Method in class Exception
Exception ::__toString () — Method in class Exception
Exception ::__sleep () — Method in class Exception
ExceptionWrapper ::__construct () — Method in class ExceptionWrapper
ExceptionWrapper ::__toString () — Method in class ExceptionWrapper
ExpectationFailedException ::__construct () — Method in class ExpectationFailedException
IncompleteTestCase ::__construct () — Method in class IncompleteTestCase
SkippedTestCase ::__construct () — Method in class SkippedTestCase
SyntheticError ::__construct () — Method in class SyntheticError
Constructor. TestCase ::__construct () — Method in class TestCase
Constructs a test case with the given name. TestFailure ::__construct () — Method in class TestFailure
Constructs a TestFailure with the given test and exception. TestSuite ::__construct () — Method in class TestSuite
Constructs a new TestSuite: TestSuiteIterator ::__construct () — Method in class TestSuiteIterator
WarningTestCase ::__construct () — Method in class WarningTestCase
GroupFilterIterator ::__construct () — Method in class GroupFilterIterator
NameFilterIterator ::__construct () — Method in class NameFilterIterator
PhptTestCase ::__construct () — Method in class PhptTestCase
Constructs a test case with the given filename. ResultPrinter ::__construct () — Method in class ResultPrinter
Constructor. TestRunner ::__construct () — Method in class TestRunner
Configuration ::__construct () — Method in class Configuration
Loads a PHPUnit configuration file. JUnit ::__construct () — Method in class JUnit
Constructor. AbstractPhpProcess ::__construct () — Method in class AbstractPhpProcess
Creates internal Runtime instance. Printer ::__construct () — Method in class Printer
Constructor. ResultPrinter ::__construct () — Method in class ResultPrinter
XmlResultPrinter ::__construct () — Method in class XmlResultPrinter