From cdc963a9363be1768525341e5fe0c7abc3e5d5eb Mon Sep 17 00:00:00 2001 From: Shyim <6224096+shyim@users.noreply.github.com> Date: Wed, 5 May 2021 06:37:26 +0000 Subject: [PATCH] Add default phpunit testsuite --- composer.json | 5 ++++- tests/phpunit.xml | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4e01cb6b..9a7e1617 100644 --- a/composer.json +++ b/composer.json @@ -61,5 +61,8 @@ ] }, "minimum-stability": "dev", - "prefer-stable": true + "prefer-stable": true, + "scripts": { + "test": "phpunit -c tests" + } } diff --git a/tests/phpunit.xml b/tests/phpunit.xml index 738b4ac6..16536822 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -15,6 +15,11 @@ ../src + + + . + +