PHPackages                             facile-it/symfony-functional-testcase - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. facile-it/symfony-functional-testcase

ActiveLibrary[Testing &amp; Quality](/categories/testing)

facile-it/symfony-functional-testcase
=====================================

A small functional base test case for Symfony

1.4.0(6mo ago)144.7k—5.5%11MITPHPPHP ^7.4|^8.0CI passing

Since Mar 8Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/facile-it/symfony-functional-testcase)[ Packagist](https://packagist.org/packages/facile-it/symfony-functional-testcase)[ RSS](/packages/facile-it-symfony-functional-testcase/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (10)Dependencies (15)Versions (16)Used By (1)

facile-it/symfony-functional-testcase
=====================================

[](#facile-itsymfony-functional-testcase)

[![Build status](https://github.com/facile-it/symfony-functional-testcase/workflows/CI/badge.svg)](https://github.com/facile-it/symfony-functional-testcase/workflows/CI/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/33f8593d29dd48c535e93b74f26cf317fb47b4ea001910ad0f297d11b143ce50/68747470733a2f2f706f7365722e707567782e6f72672f666163696c652d69742f73796d666f6e792d66756e6374696f6e616c2d74657374636173652f762f737461626c65)](https://packagist.org/packages/facile-it/symfony-functional-testcase)[![Latest Unstable Version](https://camo.githubusercontent.com/0acaca7bae8fe9d8691018f5f6395567f70673bac5c6431d41341ea71ed35db3/68747470733a2f2f706f7365722e707567782e6f72672f666163696c652d69742f73796d666f6e792d66756e6374696f6e616c2d74657374636173652f762f756e737461626c65)](https://packagist.org/packages/facile-it/symfony-functional-testcase)[![Codecov coverage status](https://camo.githubusercontent.com/c2aed4f303e045c26e484599cc591d2465ab208f9e41fc8f5f6a286336c63be9/68747470733a2f2f636f6465636f762e696f2f67682f666163696c652d69742f73796d666f6e792d66756e6374696f6e616c2d74657374636173652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/facile-it/symfony-functional-testcase)

This is a small base TestCase for PHPUnit functional tests in Symfony that provides a simple `getContainer()` helper, alongside with some small caching to speed up the tests.

Forked (and slimmed down) from [liip/LiipFunctionalTestBundle](https://github.com/liip/LiipFunctionalTestBundle).

Installation
============

[](#installation)

```
$ composer require --dev facile-it/symfony-functional-testcase
```

Usage
=====

[](#usage)

To use this in one of your functional tests, you just have to edit it like this:

```
