SymfonyTestsListener

SymfonyTestsListener

class SymfonyTestsListener extends BaseTestListener

Collects and replays skipped tests.

Methods

__construct(array $mockedNamespaces = array())
globalListenerDisabled()
startTestSuite(TestSuite $suite)
addSkippedTest(Test $test, Exception $e, $time)
startTest(Test $test)
addWarning(Test $test, Warning $e, $time)
endTest(Test $test, $time)

Details

__construct(array $mockedNamespaces = array())

Parameters

array $mockedNamespaces

globalListenerDisabled()

startTestSuite(TestSuite $suite)

Parameters

TestSuite $suite

addSkippedTest(Test $test, Exception $e, $time)

Parameters

Test $test
Exception $e
$time

startTest(Test $test)

Parameters

Test $test

addWarning(Test $test, Warning $e, $time)

Parameters

Test $test
Warning $e
$time

endTest(Test $test, $time)

Parameters

Test $test
$time

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Bridge/PhpUnit/SymfonyTestsListener.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部