PHPackages                             ipc/test-bundle - 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. ipc/test-bundle

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

ipc/test-bundle
===============

This bundle provides test methods for common test cases.

0.3.0(9y ago)05301MITPHPPHP &gt;= 7.0

Since Oct 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/tburschka/ipc-test-bundle)[ Packagist](https://packagist.org/packages/ipc/test-bundle)[ Docs](https://github.com/tburschka/ipc-test-bundle)[ RSS](/packages/ipc-test-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (5)Versions (11)Used By (1)

TestBundle
==========

[](#testbundle)

This bundle provides some abstract test classes, which are useful and reusable.

Ensure that your config\_test.yml have the following configured options (skip web\_profiler and|or swiftmailer options if you don't use them):

```
framework:
    test: ~
    session:
        storage_id: session.storage.mock_file
    profiler:
        collect: false

web_profiler:
    toolbar: false
    intercept_redirects: false

swiftmailer:
    disable_delivery: true
```

AbstractSymfonyTest
-------------------

[](#abstractsymfonytest)

The AbstractSymfonyTest class boots the kernel and give access to the container and the doctrine entity manager.

AbstractControllerTest
----------------------

[](#abstractcontrollertest)

The AbstractControllerTest class extends the AbstractSymfonyTest and give access to the HttpKernel\\Client. To use the client you have to (re-)configure your security providers by adding a chain provider which provides your original security provider as well as an in memory provider with default configuration.

```
security:
    providers:
        chain_provider:
            chain:
                providers: [default_provider]
        default_provider:
            id: security_user_provider
        in_memory_provider:
            memory: ~
```

In addition, you have to add the following block to your config\_test.yml. You can add or change the user roles, but the username/password configuration is currently hardcoded in the AbstractControllerTest class.

```
security:
    encoders:
        Symfony\Component\Security\Core\User\User: plaintext

    firewalls:
        secured_area:
            http_basic: ~
    providers:
        chain_provider:
            chain:
                providers: [in_memory_provider]
        in_memory:
            memory:
                users:
                    test:
                        password: test
                        roles: 'ROLE_USER'
```

AbstractTypeTestCase
--------------------

[](#abstracttypetestcase)

To test your form types you can use the AbstractTypeTestCase. Since it extends from AbstractSymfonyTest the validation is enabled by default and resolving form types from services.yml is possible. Ensure you update the framework block in config\_test.yml to disable csrf\_protection in validation tests.

```
framework:
    csrf_protection:
        enabled: false
```

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~58 days

Recently: every ~106 days

Total

10

Last Release

3414d ago

PHP version history (3 changes)0.1.0PHP &gt;= 5.6

0.1.1PHP &gt;= 5.5.9

0.3.0PHP &gt;= 7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/f739f6fa054b53b2ca3b598525c5de13ba0ac9b88589e591241a8e67ba67bfeb?d=identicon)[tburschka](/maintainers/tburschka)

---

Tags

php

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ipc-test-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ipc-test-bundle/health.svg)](https://phpackages.com/packages/ipc-test-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k6.0M766](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M225](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1301.7M3.0k](/packages/contao-core-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

12017.1k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
