From 6ab8a5c0f3c1d892ad4fe2351ce575a1d5562091 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Sun, 16 Jun 2024 00:01:06 +0200 Subject: [PATCH] improve phpunit configuration --- composer.json | 4 ++-- tests/phpunit.xml | 15 ++++++++------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index aff57f7..9c0701b 100644 --- a/composer.json +++ b/composer.json @@ -52,8 +52,8 @@ "phpstan": "./vendor/bin/phpstan --configuration=vendor/d3/oxid-dic-handler/phpstan.neon analyse", "phpstan-report": "./vendor/bin/phpstan --configuration=vendor/d3/ordermanager/phpstan.neon analyse --error-format=json > reports/phpstan/oxid-dic-handler/phpstan.report.json", - "phpunit": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --bootstrap=source/bootstrap.php --config=vendor/d3/oxid-dic-handler/tests/ --no-coverage", - "phpunit-coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --bootstrap=source/bootstrap.php --config=vendor/d3/oxid-dic-handler/tests/ --coverage-html=reports/phpunit/oxid-dic-handler", + "phpunit": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --config=vendor/d3/oxid-dic-handler/tests/ --no-coverage", + "phpunit-coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --config=vendor/d3/oxid-dic-handler/tests/ --coverage-html=reports/phpunit/oxid-dic-handler", "rector": "./vendor/bin/rector process --dry-run --config ./vendor/d3/oxid-dic-handler/rector.php" } diff --git a/tests/phpunit.xml b/tests/phpunit.xml index d2f8dce..bc426e8 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -1,9 +1,9 @@ + + + unit/ + + ../ @@ -25,9 +31,4 @@ ../.php-cs-fixer.php - - - unit/ - -