mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
More work on output
This commit is contained in:
@ -71,7 +71,7 @@ final class TeamCity extends DefaultResultPrinter
|
||||
/** @phpstan-ignore-next-line */
|
||||
public function startTestSuite(TestSuite $suite): void
|
||||
{
|
||||
if (!str_contains($suite->getName(), '.php')) {
|
||||
if (str_starts_with($suite->getName(), 'P\\')) {
|
||||
$this->writeWithColor('bg-white, fg-black, bold', ' ' . substr_replace($suite->getName(), '', 0, 2) . ' ');
|
||||
}
|
||||
|
||||
@ -111,6 +111,10 @@ final class TeamCity extends DefaultResultPrinter
|
||||
{
|
||||
$suiteName = $suite->getName();
|
||||
|
||||
if (str_starts_with($suiteName, 'P\\')) {
|
||||
$this->writeNewLine();
|
||||
}
|
||||
|
||||
if (file_exists($suiteName) || !method_exists($suiteName, '__getFileName')) {
|
||||
$this->printEvent(
|
||||
self::TEST_SUITE_FINISHED, [
|
||||
|
||||
Reference in New Issue
Block a user