Testing

Testing the Bundle

To run this bundle’s tests, clone the repository, install vendors, and invoke PHPUnit:

$ git clone https://github.com/FriendsOfSymfony/FOSHttpCacheBundle.git
$ cd FOSHttpCacheBundle
$ composer install
$ vendor/bin/phpunit

Tip

See the FOSHttpCache library’s docs on how to write integration tests that validate your caching code and configuration against a caching proxy.