PHP Class HMLB\PHPUnit\Listener\VWListener

Uses a piece of secret software for automatic test environment detection. Now you can break rules too.
Author: Hugues Maignol ([email protected])
Inheritance: implements PHPUnit_Framework_TestListene\PHPUnit_Framework_TestListener
Datei anzeigen Open project: hmlb/phpunit-vw

Public Methods

Method Description
__construct ( array $options = [] )
addError ( PHPUnit_Framework_Test $test, Exception $e, $time )
addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time )
addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
addRiskyTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
endTest ( PHPUnit_Framework_Test $test, $time )
endTestSuite ( PHPUnit_Framework_TestSuite $suite )
startTest ( PHPUnit_Framework_Test $test )
startTestSuite ( PHPUnit_Framework_TestSuite $suite )

Method Details

__construct() public method

public __construct ( array $options = [] )
$options array

addError() public method

public addError ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

addFailure() public method

public addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time )
$test PHPUnit_Framework_Test
$e PHPUnit_Framework_AssertionFailedError

addIncompleteTest() public method

public addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

addRiskyTest() public method

public addRiskyTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

addSkippedTest() public method

public addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, $time )
$test PHPUnit_Framework_Test
$e Exception

endTest() public method

public endTest ( PHPUnit_Framework_Test $test, $time )
$test PHPUnit_Framework_Test

endTestSuite() public method

public endTestSuite ( PHPUnit_Framework_TestSuite $suite )
$suite PHPUnit_Framework_TestSuite

startTest() public method

public startTest ( PHPUnit_Framework_Test $test )
$test PHPUnit_Framework_Test

startTestSuite() public method

public startTestSuite ( PHPUnit_Framework_TestSuite $suite )
$suite PHPUnit_Framework_TestSuite