Spec-Zone.ru › Symfony 3.4

SymfonyTestsListener

class SymfonyTestsListener extends BaseTestListener

Собирает и воспроизводит пропущенные тесты.

Методы

__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)

Подробности

__construct(array $mockedNamespaces = array())

Параметры

array $mockedNamespaces

globalListenerDisabled()

startTestSuite(TestSuite $suite)

Параметры

TestSuite $suite

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

Параметры

Test $test
Exception $e
$time

startTest(Test $test)

Параметры

Test $test

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

Параметры

Test $test
Warning $e
$time

endTest(Test $test, $time)

Параметры

Test $test
$time

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API