for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Paraunit\TestResult;
/**
* Class TestResultContainer
* @package Paraunit\TestResult
*/
class TestResultFormat
{
/** @var string */
private $tag;
private $title;
/** @var bool */
private $printTestOutput;
private $printFilesRecap;
* TestResultFormat constructor.
* @param string $tag
* @param string $title
* @param bool $printTestOutput
* @param bool $printFilesRecap
public function __construct(string $tag, string $title, bool $printTestOutput = true, bool $printFilesRecap = true)
$this->tag = $tag;
$this->title = $title;
$this->printTestOutput = $printTestOutput;
$this->printFilesRecap = $printFilesRecap;
}
public function getTag(): string
return $this->tag;
public function getTitle(): string
return $this->title;
public function shouldPrintTestOutput(): bool
return $this->printTestOutput;
public function shouldPrintFilesRecap(): bool
return $this->printFilesRecap;