Spec-Zone.ru › Symfony 3.2

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)
handleError($type, $msg, $file, $line, $context)

Подробности

__construct(array $mockedNamespaces = array())

Параметры

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

__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

handleError($type, $msg, $file, $line, $context)

Параметры

$type
$msg
$file
$line
$context

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

Spec-Zone.ru

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