Download the PHP package phphd/cache-test-bundle without Composer
On this page you can find all versions of the php package phphd/cache-test-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package cache-test-bundle
PhdCacheTestBundle
🧰 Provides Symfony Cache clearing extension for PHPUnit.
Installation ⚒️
-
Install via composer
-
Enable the bundle in the
bundles.php
- Add PHPUnit extension
Usage 🚀
It is possible to use this bundle to clear cache pools for any tests that extend
Symfony\Bundle\FrameworkBundle\Test\KernelTestCase
(WebTestCase
, ApiTestCase
, etc.)
Use #[ClearPool]
attribute in order to clear caches:
In the example above, my_cache_pool
will be cleared before every test from BlogControllerTest
.
All versions of cache-test-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0.2
phpunit/phpunit Version ^9.4
symfony/http-kernel Version ^6.0
symfony/dependency-injection Version ^6.0
psr/cache Version ^2.0|^3.0
phpunit/phpunit Version ^9.4
symfony/http-kernel Version ^6.0
symfony/dependency-injection Version ^6.0
psr/cache Version ^2.0|^3.0
The package phphd/cache-test-bundle contains the following files
Loading the files please wait ....