Skip to content

Commit 59ae985

Browse files
authored
Add @group CacheLive to tests
* test: add `@group CacheLive` * docs: add about CacheLive
1 parent dfe4ad4 commit 59ae985

4 files changed

Lines changed: 8 additions & 2 deletions

File tree

tests/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ Individual tests can be run by including the relative path to the test file.
4949

5050
> ./phpunit tests/system/HTTP/RequestTest.php
5151

52-
You can run the tests without running the live database tests.
52+
You can run the tests without running the live database and the live cache tests.
5353

54-
> ./phpunit --exclude-group DatabaseLive
54+
> ./phpunit --exclude-group DatabaseLive,CacheLive
5555

5656
## Generating Code Coverage
5757

tests/system/Cache/Handlers/MemcachedHandlerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
use Exception;
1717

1818
/**
19+
* @group CacheLive
20+
*
1921
* @internal
2022
*/
2123
final class MemcachedHandlerTest extends AbstractHandlerTest

tests/system/Cache/Handlers/PredisHandlerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
use Config\Cache;
1616

1717
/**
18+
* @group CacheLive
19+
*
1820
* @internal
1921
*/
2022
final class PredisHandlerTest extends AbstractHandlerTest

tests/system/Cache/Handlers/RedisHandlerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
use Config\Cache;
1616

1717
/**
18+
* @group CacheLive
19+
*
1820
* @internal
1921
*/
2022
final class RedisHandlerTest extends AbstractHandlerTest

0 commit comments

Comments
 (0)