Implementation of an alternative PHPUnit plugin:

- Reformat the error output.
- Display collapsed trace in the Information tab widget.
- Handle incomplete tests in the results.
- Unit tests for all new classes.
- Display raw phpunit output.
This commit is contained in:
Pablo Tejada 2017-01-05 17:59:58 +07:00 committed by Dmitry Khomutov
commit c32a520b91
13 changed files with 1385 additions and 4 deletions

View file

@ -3,7 +3,7 @@ use PHPCensor\Helper\Lang;
$linkTemplate = $build->getFileLinkTemplate();
/** @var \PHPCensor\Model\BuildError $error */
/** @var \PHPCI\Model\BuildError[] $errors */
foreach ($errors as $error):
$link = str_replace('{FILE}', $error->getFile(), $linkTemplate);
@ -30,8 +30,8 @@ foreach ($errors as $error):
?>
</a>
</td>
<td><?php print $error->getMessage(); ?></td>
<td class="visible-line-breaks"><?php print $error->getMessage(); ?></td>
</tr>
<?php endforeach; ?>
<?php endforeach; ?>