NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1922 most downloaded on Packagist
Library for testing user classes related to the Symfony Dependency Injection Component
Last release 7 months ago
25 Feb 2026
Release timing varies
gaps range from 9 days to 1.7 years
Most releases are documented
notes for 26 of 39 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
39 releases · first in 2013
Add support for PHPUnit 13 by @simPod in #171
Add PHP 8.4 build, run tests with Symfony 7.3 and 7.4, add Symfony 8.0 support by @mbabker in #165
Full Changelog: 6.1.0...6.2.0
One column per quarter.
Update version matrix in readme by @jdreesen in #162
Full Changelog: 6.0.0...6.1.0
chore: fix ci deprecations, bump actions/cache 3 => 4 by @Chris53897 in #160
Full Changelog: 5.1.0...6.0.0
docs: fix ci badge in README.md by @Chris53897 in #152
assertContainerBuilderServiceDecoration() by @mbabker in #147DefinitionDecoratesConstraint by @stloyd in #155Full Changelog: 5.0.0...5.1.0
chore: fix ci deprecations by @Chris53897 in #150
Full Changelog: v4.3.1...5.0.0
Nothing published for this version
Removed support for Symfony <4.4 & >5.0 - <5.3
Changes:
See change log for changes.
See change log for changes.
Add @coversNothing annotation to prevent raising risky warnings in PHPUnit 9
Nothing published for this version
- Support for Symfony 5.
Dropped support for PHPUnit 7.x
Added support for yaml file extension.
yaml file extension.Dropped support for PHPUnit < 7.0
toString() methods of the constraint classes for compatibility with PHPUnit 7Nothing published for this version
Testing on Symfony 4 and make sure test passes
- Support for Symfony 4
Added support for validating invocation index order of method call (see #69).
Only support Symfony 2.* and 3.* LTS versions
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Made alias/service id comparison case insensitive. Reported and fixed by Christian Flothmann (@xabbuh).
Fixed a bug in DefinitionHasTagConstraint: it didn't throw an exception when a tag was missing, which resulted in false positives. Reported and fixed
DefinitionHasTagConstraint: it didn't throw an exception when a tag was missing, which resulted in
false positives. Reported and fixed by Christian Flothmann (@xabbuh).Add assertContainerBuilderNotHasService(), contributed by Uwe Jäger (@uwej711).
assertContainerBuilderNotHasService(), contributed by Uwe Jäger (@uwej711).Fix AbstractCompilerPassTestCase when using strict-mode, contributed by Sebastiaan Stok (@sstok).
Automatically resolve a definition's class before comparing it to the expected class (in ContainerBuilderHasServiceDefinitionConstraint).
ContainerBuilderHasServiceDefinitionConstraint).Added ContainerBuilderHasSyntheticServiceConstraint and corresponding assertion to AbstractContainerBuilderTestCase (as suggested by @WouterJ).
ContainerBuilderHasSyntheticServiceConstraint and corresponding assertion to
AbstractContainerBuilderTestCase (as suggested by @WouterJ).Renamed AbstractCompilerPassTest to AbstractCompilerPassTestCase (contributed by @mbadolato).
AbstractCompilerPassTest to AbstractCompilerPassTestCase (contributed by @mbadolato).Nothing published for this version
Added AbstractExtensionConfigurationTestCase for testing different types of configuration files.
AbstractExtensionConfigurationTestCase for testing different types of configuration files.Renamed ContainerBuilderTestCase to AbstractContainerBuilderTestCase and made it abstract.
ContainerBuilderTestCase to AbstractContainerBuilderTestCase and made it abstract.DefinitionIsChildOfConstraint to verify that a given service has the expected parent service.
Also added a shortcut for using this constraint in the test cases: assertContainerBuilderHasServiceDefinitionWithParent($serviceId, $parentServiceId)Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →