junit support

This commit is contained in:
Adrian Nürnberger
2023-07-30 08:35:00 +02:00
parent 8f738f5d49
commit e5dc6f0ae2
14 changed files with 874 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
namespace Pest\Logging\JUnit\Subscriber;
use PHPUnit\Event\TestSuite\Started;
use PHPUnit\Event\TestSuite\StartedSubscriber;
/**
* @internal
*/
final class TestSuiteStartedSubscriber extends Subscriber implements StartedSubscriber
{
public function notify(Started $event): void
{
$this->logger()->testSuiteStarted($event);
}
}