• deprecated Use the `TestHook` interfaces instead
AbstractInterface
Methods
public abstract addError(PHPUnit\Framework\Test $test, Throwable $t, float $time) : void
 

An error occurred.

  • deprecated Use `AfterTestErrorHook::executeAfterTestError` instead
public abstract addFailure(PHPUnit\Framework\Test $test, PHPUnit\Framework\AssertionFailedError $e, float $time) : void
 

A failure occurred.

  • deprecated Use `AfterTestFailureHook::executeAfterTestFailure` instead
public abstract addIncompleteTest(PHPUnit\Framework\Test $test, Throwable $t, float $time) : void
 

Incomplete test.

  • deprecated Use `AfterIncompleteTestHook::executeAfterIncompleteTest` instead
public abstract addRiskyTest(PHPUnit\Framework\Test $test, Throwable $t, float $time) : void
 

Risky test.

  • deprecated Use `AfterRiskyTestHook::executeAfterRiskyTest` instead
public abstract addSkippedTest(PHPUnit\Framework\Test $test, Throwable $t, float $time) : void
 

Skipped test.

  • deprecated Use `AfterSkippedTestHook::executeAfterSkippedTest` instead
public abstract addWarning(PHPUnit\Framework\Test $test, PHPUnit\Framework\Warning $e, float $time) : void
 

A warning occurred.

  • deprecated Use `AfterTestWarningHook::executeAfterTestWarning` instead
public abstract endTest(PHPUnit\Framework\Test $test, float $time) : void
 

A test ended.

  • deprecated Use `AfterTestHook::executeAfterTest` instead
public abstract endTestSuite(PHPUnit\Framework\TestSuite $suite) : void
 

A test suite ended.

public abstract startTest(PHPUnit\Framework\Test $test) : void
 

A test started.

  • deprecated Use `BeforeTestHook::executeBeforeTest` instead
public abstract startTestSuite(PHPUnit\Framework\TestSuite $suite) : void
 

A test suite started.

© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only