GitHub - php-cache/integration-tests: Integration tests for your PSR-6 cache implementation | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

php-cache/integration-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSR-6 and PSR-16 Integration tests

Gitter Latest Stable Version Total Downloads Monthly Downloads Software License

This repository contains integration tests to make sure your implementation of a PSR-6 and/or PSR-16 cache follows the rules by PHP-FIG. It is a part of the PHP Cache organisation. To read about us please read the shared documentation at www.php-cache.com.

Install

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

Use

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();
    }
}

You can also test a PSR-16 implementation:

class CacheIntegrationTest extends SimpleCacheTest
{
    public function createSimpleCache()
    {
        return new SimpleCache();
    }
}

Contribute

Contributions are very welcome! Send a pull request or report any issues you find on the issue tracker.

About

Integration tests for your PSR-6 cache implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 22

Languages

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.