diff --git a/.gitattributes b/.gitattributes
index 82a4f0b95..a8682dbc0 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -3,10 +3,10 @@
/.github/ export-ignore
/.gitignore export-ignore
/.phive/ export-ignore
+/Build/ export-ignore
/CODE_OF_CONDUCT.md export-ignore
/CONTRIBUTING.md export-ignore
/bin/ export-ignore
/config/ export-ignore
/docs/ export-ignore
-/phpunit.xml export-ignore
/tests/ export-ignore
diff --git a/phpunit.xml b/Build/phpunit/config.xml
similarity index 84%
rename from phpunit.xml
rename to Build/phpunit/config.xml
index aab1f10c4..485d82c3f 100644
--- a/phpunit.xml
+++ b/Build/phpunit/config.xml
@@ -12,13 +12,13 @@
>
- tests
+ ../../tests
- src
+ ../../src
diff --git a/composer.json b/composer.json
index fb1391b1b..5c240cf56 100644
--- a/composer.json
+++ b/composer.json
@@ -96,9 +96,9 @@
"check:tests": [
"@check:tests:unit"
],
- "check:tests:coverage": "phpunit --do-not-cache-result --coverage-clover=coverage.xml",
- "check:tests:sof": "phpunit --stop-on-failure --do-not-cache-result",
- "check:tests:unit": "phpunit --do-not-cache-result",
+ "check:tests:coverage": "phpunit --config=./Build/phpunit/config.xml --do-not-cache-result --coverage-clover=coverage.xml",
+ "check:tests:sof": "phpunit --stop-on-failure --config=./Build/phpunit/config.xml --do-not-cache-result",
+ "check:tests:unit": "phpunit --config=./Build/phpunit/config.xml --do-not-cache-result",
"fix": [
"@fix:php"
],