From fae00b9d0dfa4f7977896d680a517aff047fc4d2 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Mon, 29 Jul 2024 16:45:59 +0800 Subject: [PATCH] Add phpunit configuration --- .gitignore | 1 + composer.json | 4 +++- phpunit.xml.dist | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 phpunit.xml.dist diff --git a/.gitignore b/.gitignore index 809a913..babc12a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /.php-cs-fixer.php /composer.lock /phpstan.neon +/phpunit.xml diff --git a/composer.json b/composer.json index 1a8e58e..5288c96 100644 --- a/composer.json +++ b/composer.json @@ -20,11 +20,13 @@ "php": "^8.2" }, "require-dev": { + "nexusphp/tachycardia": "^2.3", "phpstan/extension-installer": "^1.4", "phpstan/phpstan": "^1.11", "phpstan/phpstan-deprecation-rules": "^1.2", "phpstan/phpstan-phpunit": "^1.4", - "phpstan/phpstan-strict-rules": "^1.6" + "phpstan/phpstan-strict-rules": "^1.6", + "phpunit/phpunit": "^11.2" }, "minimum-stability": "dev", "prefer-stable": true, diff --git a/phpunit.xml.dist b/phpunit.xml.dist new file mode 100644 index 0000000..0484c5d --- /dev/null +++ b/phpunit.xml.dist @@ -0,0 +1,37 @@ + + + + + tests/ + + + + + + src/Nexus/ + + + + + + + + + + + + + +