From 5754ef08a3e3078cf36311f6190e051217439ab4 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Tue, 16 Nov 2021 14:02:14 -0800 Subject: [PATCH] move cache test to a separate group --- composer.json | 2 +- phpunit.xml | 7 +++++-- tests/{ => integration}/CacheTest.php | 0 tests/{ => unit}/DateTest.php | 0 tests/{ => unit}/URLTest.php | 0 tests/{ => unit}/UtilsTest.php | 0 6 files changed, 6 insertions(+), 3 deletions(-) rename tests/{ => integration}/CacheTest.php (100%) rename tests/{ => unit}/DateTest.php (100%) rename tests/{ => unit}/URLTest.php (100%) rename tests/{ => unit}/UtilsTest.php (100%) diff --git a/composer.json b/composer.json index 91bd0a4..17f867a 100644 --- a/composer.json +++ b/composer.json @@ -28,6 +28,6 @@ ] }, "scripts": { - "test": "vendor/bin/phpunit" + "test": "vendor/bin/phpunit --testsuite unit" } } diff --git a/phpunit.xml b/phpunit.xml index ed22603..6c99803 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -3,8 +3,11 @@ bootstrap="tests/bootstrap.php" beStrictAboutTestsThatDoNotTestAnything="true"> - - tests + + tests/unit + + + tests/integration diff --git a/tests/CacheTest.php b/tests/integration/CacheTest.php similarity index 100% rename from tests/CacheTest.php rename to tests/integration/CacheTest.php diff --git a/tests/DateTest.php b/tests/unit/DateTest.php similarity index 100% rename from tests/DateTest.php rename to tests/unit/DateTest.php diff --git a/tests/URLTest.php b/tests/unit/URLTest.php similarity index 100% rename from tests/URLTest.php rename to tests/unit/URLTest.php diff --git a/tests/UtilsTest.php b/tests/unit/UtilsTest.php similarity index 100% rename from tests/UtilsTest.php rename to tests/unit/UtilsTest.php