A Symfony bundle providing helper classes and base classes for writing functional and unit tests.
LiipFunctionalTestBundle is a Symfony bundle that provides helper classes and base classes for writing functional and unit tests. It simplifies common testing tasks, such as creating mocks, tracking database queries, and testing console commands, making it easier to build and maintain test suites in Symfony applications.
Symfony developers and teams who need to write functional and unit tests for their applications, particularly those looking to reduce boilerplate and leverage reusable testing utilities.
Developers choose this bundle because it offers a curated set of well-tested, Symfony-integrated tools that streamline testing workflows, improve test reliability, and save time compared to building custom testing utilities from scratch.
Some helper classes for writing functional tests in Symfony
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides ready-to-use base classes for functional tests, reducing repetitive setup code in Symfony test suites, as mentioned in the README's introduction.
Offers a dependency injection-aware mock builder for unit tests, simplifying mock creation within Symfony's container, highlighted in the key features.
Includes logged client support for testing authenticated users, easing functional test writing for login-dependent scenarios, per the documentation links.
Allows tracking and asserting database query counts in tests, aiding performance optimization, as stated in the key features list.
Tightly coupled with Symfony, making it unsuitable for non-Symfony projects and adding vendor-specific complexity that limits portability.
Requires additional setup and integration with Symfony's testing framework, which can be cumbersome compared to lightweight alternatives, as hinted in the installation documentation.
May introduce breaking changes with Symfony updates, necessitating careful version management, as acknowledged in the caveats documentation link.