NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1841 most downloaded on Packagist
Library for testing user classes related to the Symfony Dependency Injection Component
Latest stable
6.3.0
Last release 9 months ago
25 Feb 2026
Release timing varies
gaps range from 9 days to 1.7 years
Most releases are documented
notes for 30 of 39 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
39 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Add support for PHPUnit 13 by @simPod in https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/pull/171
Full Changelog: https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/compare/6.2.0...6.3.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add PHP 8.4 build, run tests with Symfony 7.3 and 7.4, add Symfony 8.0 support by @mbabker in https://github.com/SymfonyTest/SymfonyDependencyInjectio
Full Changelog: https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/compare/6.1.0...6.2.0
Full Changelog: 6.1.0...6.2.0
Update version matrix in readme by @jdreesen in https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/pull/162
Full Changelog: https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/compare/6.0.0...6.1.0
Full Changelog: 6.0.0...6.1.0
chore: fix ci deprecations, bump actions/cache 3 => 4 by @Chris53897 in https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/pull/160
Full Changelog: https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/compare/5.1.0...6.0.0
Full Changelog: 5.1.0...6.0.0
docs: fix ci badge in README.md by @Chris53897 in https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/pull/152
assertContainerBuilderServiceDecoration() by @mbabker in https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/pull/147DefinitionDecoratesConstraint by @stloyd in https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/pull/155Full Changelog: https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/compare/5.0.0...5.1.0
chore: fix ci deprecations by @Chris53897 in https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/pull/150
Full Changelog: https://github.com/SymfonyTest/SymfonyDependencyInjectionTest/compare/v4.3.1...5.0.0
Full Changelog: v4.3.1...5.0.0
Nothing published for this version
Removed support for Symfony <4.4 & >5.0 - <5.3
Changes:
Changes:
See change log for changes.
See change log for changes.
Add @coversNothing annotation to prevent raising risky warnings in PHPUnit 9
@coversNothing annotation to prevent raising risky warnings in PHPUnit 9prepend() for all extensions first, then load() then extensions (#126)AbstractContainerBuilderTestCase also resets *After* removing passes
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
toString() methods of the constraint classes for compatibility with PHPUnit 7See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
Added support for prependable container extension
Added support for validating invocation index order of method call (see #69).
Only support Symfony 2.* and 3.* LTS versions
This release includes Symfony 4 support.
This release includes Symfony 4 support.
Support sebastian/exporter ^2.0. See #65.
sebastian/exporter ^2.0. See #65.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
One column per quarter.