Before any code, understand what problem smoke tests actually solve and where they sit between unit tests and full E2E suites.
Before writing any code, this lesson covers what a smoke test actually is, why it sits in a different category from unit tests and end-to-end tests, and when it earns its keep on a Craft CMS project.
We’ll look at the kinds of bugs smoke tests are designed to catch: the ones that slip past your deploy tool’s “success” report because the failure is in the rendered output, not in the deployment process itself. We’ll also draw clear lines between smoke testing, unit testing, full end-to-end testing, and visual regression so you know which tool fits which problem.
By the end, you’ll be able to explain in a sentence what a smoke test does and why every Craft site that matters deserves one.
What you’ll learn: