Skip to content

Commit 7e7d791

Browse files
committed
Configure PHPUnit to fail on skipped, output during tests, and random execution order
1 parent c877cd9 commit 7e7d791

File tree

20 files changed

+116
-58
lines changed

20 files changed

+116
-58
lines changed

src/Autocomplete/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
bootstrap="vendor/autoload.php"
88
failOnRisky="true"
99
failOnWarning="true"
10+
failOnSkipped="true"
11+
beStrictAboutOutputDuringTests="true"
12+
executionOrder="random"
1013
>
1114
<coverage processUncoveredFiles="true">
1215
<include>

src/Chartjs/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
bootstrap="vendor/autoload.php"
88
failOnRisky="true"
99
failOnWarning="true"
10+
failOnSkipped="true"
11+
beStrictAboutOutputDuringTests="true"
12+
executionOrder="random"
1013
>
1114
<coverage>
1215
<include>

src/Cropperjs/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
bootstrap="vendor/autoload.php"
88
failOnRisky="true"
99
failOnWarning="true"
10+
failOnSkipped="true"
11+
beStrictAboutOutputDuringTests="true"
12+
executionOrder="random"
1013
>
1114
<coverage>
1215
<include>

src/Dropzone/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
bootstrap="vendor/autoload.php"
88
failOnRisky="true"
99
failOnWarning="true"
10+
failOnSkipped="true"
11+
beStrictAboutOutputDuringTests="true"
12+
executionOrder="random"
1013
>
1114
<coverage>
1215
<include>

src/Icons/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
bootstrap="vendor/autoload.php"
88
failOnRisky="true"
99
failOnWarning="true"
10+
failOnSkipped="true"
11+
beStrictAboutOutputDuringTests="true"
12+
executionOrder="random"
1013
>
1114
<coverage processUncoveredFiles="true">
1215
<include>

src/LazyImage/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
bootstrap="vendor/autoload.php"
88
failOnRisky="true"
99
failOnWarning="true"
10+
failOnSkipped="true"
11+
beStrictAboutOutputDuringTests="true"
12+
executionOrder="random"
1013
>
1114
<coverage>
1215
<include>

src/LiveComponent/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
bootstrap="vendor/autoload.php"
77
failOnRisky="true"
88
failOnWarning="true"
9+
failOnSkipped="true"
10+
beStrictAboutOutputDuringTests="true"
11+
executionOrder="random"
912
>
1013
<coverage processUncoveredFiles="true">
1114
<include>

src/Map/phpunit.xml.dist

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@
66
bootstrap="vendor/autoload.php"
77
failOnRisky="true"
88
failOnWarning="true"
9+
failOnSkipped="true"
10+
beStrictAboutOutputDuringTests="true"
11+
executionOrder="random"
912
>
1013
<coverage processUncoveredFiles="true">
1114
<include>
1215
<directory suffix=".php">./src</directory>
1316
</include>
1417
</coverage>
15-
18+
1619
<php>
1720
<ini name="error_reporting" value="-1"/>
1821
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/>

src/Map/src/Bridge/Google/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
bootstrap="vendor/autoload.php"
77
failOnRisky="true"
88
failOnWarning="true"
9+
failOnSkipped="true"
10+
beStrictAboutOutputDuringTests="true"
11+
executionOrder="random"
912
>
1013
<coverage processUncoveredFiles="true">
1114
<include>

src/Map/src/Bridge/Leaflet/phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
bootstrap="vendor/autoload.php"
77
failOnRisky="true"
88
failOnWarning="true"
9+
failOnSkipped="true"
10+
beStrictAboutOutputDuringTests="true"
11+
executionOrder="random"
912
>
1013
<coverage processUncoveredFiles="true">
1114
<include>

0 commit comments

Comments
 (0)