Skip to content

Commit 54904ea

Browse files
committed
Tweaks phpunit config
1 parent f5a871c commit 54904ea

File tree

2 files changed

+13
-30
lines changed

2 files changed

+13
-30
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.idea
22
.phpunit.result.cache
3+
.phpunit.cache
34
build
45
composer.lock
56
coverage

phpunit.xml.dist

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,21 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
5-
backupGlobals="false"
6-
backupStaticAttributes="false"
7-
bootstrap="vendor/autoload.php"
8-
colors="true"
9-
convertErrorsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
convertWarningsToExceptions="true"
12-
processIsolation="false"
13-
stopOnFailure="false"
14-
executionOrder="random"
15-
failOnWarning="true"
16-
failOnRisky="true"
17-
failOnEmptyTestSuite="true"
18-
beStrictAboutOutputDuringTests="true"
19-
verbose="true"
20-
>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" backupGlobals="false"
4+
bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false"
5+
executionOrder="random" failOnWarning="true" failOnRisky="true" failOnEmptyTestSuite="true"
6+
beStrictAboutOutputDuringTests="true" cacheDirectory=".phpunit.cache"
7+
backupStaticProperties="false">
218
<testsuites>
22-
<testsuite name="Tonysm Test Suite">
9+
<testsuite name="Stimulus Laravel Test Suite">
2310
<directory>tests</directory>
2411
</testsuite>
2512
</testsuites>
26-
<coverage>
13+
<logging>
14+
<junit outputFile="build/report.junit.xml" />
15+
</logging>
16+
<source>
2717
<include>
2818
<directory suffix=".php">./src</directory>
2919
</include>
30-
<report>
31-
<html outputDirectory="build/coverage"/>
32-
<text outputFile="build/coverage.txt"/>
33-
<clover outputFile="build/logs/clover.xml"/>
34-
</report>
35-
</coverage>
36-
<logging>
37-
<junit outputFile="build/report.junit.xml"/>
38-
</logging>
20+
</source>
3921
</phpunit>

0 commit comments

Comments
 (0)