Skip to content

fervo/integration-tests

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSR-6 Integration tests

To make sure your implementation of PSR-6 is correct you should use this test suite.

Usage

Install the dev-master version of this library.

composer require --dev cache/integration-tests:dev-master

Create a test that looks like this:

class PoolIntegrationTest extends CachePoolTest
{
    public function createCachePool()
    {
        return new CachePool();
    }
}

You could also test your tag implementation:

class TagIntegrationTest extends TaggableCachePoolTest
{
    public function createCachePool()
    {
        return new CachePool();
    }
}

About

Integration tests for your PSR-6 cache implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%