[TESTS] Make PHPUnit exit on first fail and some other tweaks

Этот коммит содержится в:
Hugo Sales 2021-08-03 17:44:22 +00:00
родитель 855d427442
Коммит 229a516fd2
Подписано: someonewithpc
Идентификатор ключа GPG: 7D0C7EAFC9D835A0
2 изменённых файлов: 11 добавлений и 2 удалений

3
.gitignore поставляемый
Просмотреть файл

@ -59,4 +59,5 @@ config.php
notes
.test_coverage_report
.test_coverage_report
.phpunit_cache

Просмотреть файл

@ -1,6 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="tests/bootstrap.php">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="tests/bootstrap.php"
stopOnFailure="true"
stopOnError="true"
cacheResult="true"
cacheResultFile=".phpunit_cache">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>