Spec-Zone.ru › Symfony 2.8

SymfonyTestsListener

class SymfonyTestsListener extends PHPUnit_Framework_BaseTestListener

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

Методы

__construct(array $mockedNamespaces = array())
__destruct()
globalListenerDisabled()
startTestSuite(PHPUnit_Framework_TestSuite $suite)
addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time)
startTest(PHPUnit_Framework_Test $test)
endTest(PHPUnit_Framework_Test $test, $time)

Подробности

__construct(array $mockedNamespaces = array())

Параметры

array $mockedNamespaces Список имен пространств, индексированных по смоделированным функциям (зависит от времени)

__destruct()

globalListenerDisabled()

startTestSuite(PHPUnit_Framework_TestSuite $suite)

Параметры

PHPUnit_Framework_TestSuite $suite

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

Параметры

PHPUnit_Framework_Test $test
Exception $e
$time

startTest(PHPUnit_Framework_Test $test)

Параметры

PHPUnit_Framework_Test $test

endTest(PHPUnit_Framework_Test $test, $time)

Параметры

PHPUnit_Framework_Test $test
$time

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

Spec-Zone.ru

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