Cost-effective Container Smoke Tests every Symfony Project must have

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

Learn how to implement cost-effective container smoke tests for Symfony upgrades. These tests, which do not depend on Symfony versions, help quickly catch complex bugs in container operations without needing database setups or heavy frameworks. The post goes through the creation of a simple container test case and provides examples for event subscribers and controller instantiations, ensuring reliable testing over various Symfony versions.

6m read timeFrom tomasvotruba.com
Post cover image
Table of contents
Why container smoke tests?Smoke tests without ComplexityTimeless TestsSimple Container over Kernel/Web test casesPublic ServicesHow to make internal services public again?What is ideal smoke-test candidate?A. Event Subscribers Smoke TestB. Controllers loading Smoke Test

Sort: