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

ActiveSymfony-bundle[Testing &amp; Quality](/categories/testing)

belsym/test-bundle
==================

A collection of Unit Testing classes

19PHP

Since Aug 2Pushed 12y ago1 watchersCompare

[ Source](https://github.com/belsym/TestBundle)[ Packagist](https://packagist.org/packages/belsym/test-bundle)[ RSS](/packages/belsym-test-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

TestBundle
==========

[](#testbundle)

A collection of classes that can be used within any project to provide a solid base for your unit tests.

There are currently 3 classes available:

MockedUpTestCase
----------------

[](#mockeduptestcase)

This testcase enables [Mockery](https://github.com/padraic/mockery) and provides a configurable factory method for building Mock Objects.

### TODO: Add documentation for MockedUpTestCase

[](#todo-add-documentation-for-mockeduptestcase)

MockContainerAwareTestCase
--------------------------

[](#mockcontainerawaretestcase)

This test extends MockedUpTestCase to provide a mock Container for your unit tests. Also includes a method to generate a mock Doctrine EntityManager class

### TODO: Add documentation for MockContainerAwareTestCase

[](#todo-add-documentation-for-mockcontainerawaretestcase)

ContainerAwareTestCase
----------------------

[](#containerawaretestcase)

The ContainerAwareTestCase creates a bootable kernel and uses a genuine ContainerInterface instance to access services configured through the application configuration files as normal. Can only be utilised in Symfony projects as it requires the AppKernel class to be included.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1800508?v=4)[Matt Keeble](/maintainers/beldougie)[@beldougie](https://github.com/beldougie)

---

Top Contributors

[![beldougie](https://avatars.githubusercontent.com/u/1800508?v=4)](https://github.com/beldougie "beldougie (13 commits)")

### Embed Badge

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

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

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14228.7M346](/packages/dms-phpunit-arraysubset-asserts)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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