for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of the Valkyrja Framework package.
*
* (c) Melech Mizrachi <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Valkyrja\Test\Output\Outputters;
use Valkyrja\Test\Output\Formatter;
use Valkyrja\Test\Output\Formatters\Formatter as DefaultFormatter;
use Valkyrja\Test\Output\Output as Contract;
use Valkyrja\Test\Output\Results;
/**
* Class Output.
* @author Melech Mizrachi
abstract class Output implements Contract
{
public function __construct(
protected Formatter $formatter = new DefaultFormatter(),
) {
}
* @inheritDoc
public function full(Results $results): void
$this->title();
$this->sectionSpacing();
$this->tests($results);
$this->completed($results);
$this->meta();
$this->results($results);
$this->issues($results);
abstract public function title(): void;
abstract public function meta(): void;
abstract public function tests(Results $results): void;
abstract public function completed(Results $results): void;
abstract public function results(Results $results): void;
abstract public function issues(Results $results): void;
abstract public function sectionSpacing(): void;