Browse Source

move cache test to a separate group

main
Aaron Parecki 2 years ago
parent
commit
5754ef08a3
6 changed files with 6 additions and 3 deletions
  1. +1
    -1
      composer.json
  2. +5
    -2
      phpunit.xml
  3. +0
    -0
      tests/integration/CacheTest.php
  4. +0
    -0
      tests/unit/DateTest.php
  5. +0
    -0
      tests/unit/URLTest.php
  6. +0
    -0
      tests/unit/UtilsTest.php

+ 1
- 1
composer.json View File

@ -28,6 +28,6 @@
]
},
"scripts": {
"test": "vendor/bin/phpunit"
"test": "vendor/bin/phpunit --testsuite unit"
}
}

+ 5
- 2
phpunit.xml View File

@ -3,8 +3,11 @@
bootstrap="tests/bootstrap.php"
beStrictAboutTestsThatDoNotTestAnything="true">
<testsuites>
<testsuite name="comments">
<directory suffix="Test.php">tests</directory>
<testsuite name="unit">
<directory suffix="Test.php">tests/unit</directory>
</testsuite>
<testsuite name="integration">
<directory suffix="Test.php">tests/integration</directory>
</testsuite>
</testsuites>
<filter>

tests/CacheTest.php → tests/integration/CacheTest.php View File


tests/DateTest.php → tests/unit/DateTest.php View File


tests/URLTest.php → tests/unit/URLTest.php View File


tests/UtilsTest.php → tests/unit/UtilsTest.php View File


Loading…
Cancel
Save