TestRunnerStartedSubscriber.php
Namespace
Drupal\TestTools\Extension\HtmlLoggingFile
-
core/
tests/ Drupal/ TestTools/ Extension/ HtmlLogging/ TestRunnerStartedSubscriber.php
View source
<?php
declare (strict_types=1);
namespace Drupal\TestTools\Extension\HtmlLogging;
use PHPUnit\Event\TestRunner\Started;
use PHPUnit\Event\TestRunner\StartedSubscriber;
/**
* Event subscriber notifying beginning of test runner to HTML logging.
*
* @internal
*/
final class TestRunnerStartedSubscriber extends SubscriberBase implements StartedSubscriber {
public function notify(Started $event) : void {
$this->logger()
->testRunnerStarted($event);
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
TestRunnerStartedSubscriber | Event subscriber notifying beginning of test runner to HTML logging. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.