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

This commit is contained in:
Hugo Sales 2021-08-03 17:44:22 +00:00
부모 855d427442
커밋 229a516fd2
로그인 계정: someonewithpc
GPG 키 ID: 7D0C7EAFC9D835A0
2개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제

3
.gitignore vendored
파일 보기

@ -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>