Key takeaways
Stop the pipeline when a build fails its smoke test, and fix the build before running deeper tests.
A smoke test checks that the build starts, responds and can reach the services it needs, so a failure means nothing else is worth testing yet.
Run smoke tests automatically after every deployment to a test environment.
They only help when they give fast feedback and block unstable builds before they advance.
Run smoke tests as the first step of your end-to-end testing, then the full suite once they pass.
Build the suite out from your critical flows until everything a user can do has a test.
Update the smoke tests in the same change as the feature they check.
Teams that ignore maintenance end up with flaky, unreliable smoke tests that fail for the wrong reasons.
Use smoke tests to block broken builds, and sanity tests to check a specific change once the build has passed.
The two are often confused, but smoke testing covers the whole build's health and sanity testing covers one feature or fix.
A smoke test is a quick check, run right after a build is deployed, that the software starts and its critical pieces respond. If it fails, the build is rejected, since there's no point testing features on software that won't boot.
For example, after every deploy to your test environment, a smoke test loads the home page, calls the health endpoint and confirms the app can reach its database. If any check fails, the pipeline stops and nobody wastes time testing a broken build.
The term comes from hardware engineering. When engineers powered on a new circuit board for the first time, they watched for smoke. If the board smoked, something was fundamentally wrong, and software smoke testing does the same job for a new build.
This guide covers what goes in a smoke test (with a checklist and a Playwright example), how smoke testing differs from sanity, regression and acceptance testing, and how to run smoke tests in CI/CD.
What is smoke testing?
Smoke testing is a preliminary check that verifies whether the most critical functions of a software build work correctly before proceeding to more rigorous testing. Smoke tests are intentionally minimal, so instead of validating feature behavior, user workflows or business logic, they focus on system health signals that show whether the environment is usable at all.
The purpose of smoke testing is to fail fast. When a build fails to start, can’t reach dependencies, or returns errors on basic requests, deeper testing provides no value. Smoke tests act as a release gate that stops broken builds before they consume time and resources.
Smoke testing is also known as build verification testing (BVT), and under either name it checks whether a build is alive and testable.
Smoke test checklist
A good smoke test checks that the build is alive, not that every feature works. Use this as a starting point:
- The application deploys and starts without crashing.
- The main URL (or app launch screen) loads and returns a success status.
- Health or readiness endpoints return success.
- The app can reach its database.
- Critical services it depends on respond (auth, payments, queues, third-party APIs).
- No fatal errors in the logs or browser console during startup.
- The whole suite finishes in seconds, a minute at most.
- A failure stops the pipeline and alerts the team.
If a check needs a user to log in, click through a flow or validate a business rule, it belongs in sanity or end-to-end testing instead.
Smoke testing in the software development lifecycle
Smoke testing happens early and often. After developers create a new build, the first tests to run are smoke tests, before the build enters formal QA. This creates a checkpoint, where only builds that pass smoke testing advance to comprehensive testing.
In modern development workflows, smoke tests run automatically after every deployment to a test environment. They integrate with CI/CD pipelines, providing immediate feedback when something breaks. If smoke tests fail, the pipeline stops, and the build never reaches staging or production.
This approach saves time and money, because a critical bug that smoke testing finds in minutes can take hours or days to find after a full regression suite. Smoke testing shifts failure detection left, catching problems when they are cheapest to fix. Teams that automate and continuously maintain these checks avoid spending time running or investigating deeper tests on unstable builds.
Why smoke testing matters
Catching critical failures early
Smoke testing catches deployment-level failures early, before teams spend time testing functionality that can’t possibly work. If a build fails to start, cannot reach required services, or returns errors on basic requests, there's no point testing search functionality.
When smoke tests run immediately after a deployment, failures map directly to recent changes. Developers know which commit introduced the issue, the code is still top of mind, and fixes are faster. The feedback loop stays tight, and problems are resolved before they compound across branches, environments, or teams.
It also saves time, since running a full test suite on a broken build means investigating failures that aren't real bugs, and a smoke suite that runs in seconds stops that before it starts.
Creating quality gates in CI/CD
Smoke tests serve as automated quality gates in continuous integration and continuous deployment pipelines. When a build completes, smoke tests run automatically, and the build advances to the next stage only if they pass.
This automation ensures that only stable builds reach staging or production. Nobody has to check by hand that the build works, because the smoke tests do it for you. This is critical for teams practicing continuous deployment, where builds move to production multiple times per day.
Quality gates also create accountability, because when a smoke test fails, the team knows immediately that the build is broken and has to be fixed before work continues.
Smoke testing vs. sanity testing vs. regression testing
How smoke testing differs from sanity testing
Smoke testing and sanity testing are often confused, but they serve different purposes.
Smoke testing verifies system health. It confirms that the system is alive, services are reachable, and the deployment did not fail catastrophically. Smoke tests check whether the system is testable at all, and they don't validate features, workflows or user behavior.
Smoke tests apply to any platform and typically check:
- The application starts.
- Services respond to basic requests.
- Required dependencies are reachable.
- No fatal errors occur during startup or initial access.
Smoke tests run after every new build or deployment and complete in seconds to at most one minute.
Sanity testing verifies functionality. It confirms that specific features behave correctly after targeted changes. Sanity tests check whether the changed functionality works as intended. (For broader feature checks, see functional testing.)
Sanity tests apply to any platform and typically check:
- Features work.
- Workflows complete.
- Users can accomplish tasks.
Sanity tests run after fixes or changes to confirm correctness and usually take longer than smoke tests because they exercise real application behavior.
Smoke testing always comes first, because if a smoke test fails, the system isn't stable enough for sanity or regression testing. Sanity testing only runs after smoke tests pass and the system is confirmed to be alive and reachable.
How smoke testing differs from regression testing
Regression testing is comprehensive, verifying that new changes haven't broken existing functionality by running a suite of tests that covers the entire application.
Smoke testing is preliminary, verifying that core functionality works well enough to justify running regression tests, so smoke tests stay shallow, fast and focused on critical paths.
Smoke testing happens first and regression testing after it. If smoke tests fail, you don't run regression tests, since there's no point testing a fundamentally broken build, and if they pass, regression tests verify that nothing broke.
How smoke testing differs from acceptance testing (UAT)
User acceptance testing (UAT) checks whether the software does what the business and its users need. Real users or stakeholders usually run it near the end of a release. Smoke testing sits at the opposite end of the process, as an automated check right after a deploy that the build is even worth testing. Smoke tests take seconds and run on every build; UAT can take days and runs before a release is signed off.
When to use each type of testing
- Use smoke testing after every new build. Whether the changes are small or large, smoke tests verify the build is stable enough for further testing.
- Use sanity testing after targeted changes to specific features. If a developer fixes a login bug, run sanity tests on the authentication system. If a developer adds a new payment method, run sanity tests on the checkout flow.
- Use regression testing on every pull request and before every release. After smoke tests pass and sanity tests confirm specific changes work correctly, run the full regression suite in parallel to verify nothing broke.
What to include in a smoke test
Smoke tests verify that a build is alive and testable. They don’t verify feature correctness, user behavior, or workflow completion. A smoke test checks whether the system started successfully and exposes what further testing needs.
A well-designed smoke test checks system health at the boundaries:
- The application process starts.
- Required services respond.
- Core dependencies are reachable.
- No fatal errors occur during startup or initial requests.
Smoke tests operate at the infrastructure and deployment layer, not the product behavior layer. If a check requires simulating a user action or validating a business rule, it does not belong in a smoke test.
Prioritize checks that indicate a failed deployment or broken environment. These failures block all downstream testing and must be caught immediately.
Smoke test examples for web applications
For web applications, smoke tests confirm that the application is reachable and responsive after deployment. Typical smoke tests include:
- Server responsiveness: The application responds to HTTP requests and returns a 200 status code.
- Application boot: The server starts without crashing and serves basic HTML.
- Health endpoints: Health or readiness endpoints return success.
- Dependency connectivity: The application establishes database connections and can reach required external services.
- Fatal error detection: No unhandled exceptions occur during startup or initial requests.
These checks confirm that the system is running and ready for deeper testing. They do not validate authentication, navigation, or business logic.
Smoke test examples for mobile applications
For mobile applications, smoke tests verify that the app installs, launches, and connects to required services. Typical smoke checks include:
- Installation: The app installs successfully on the target device.
- Launch stability: The app opens and reaches its initial screen without crashing.
- Backend reachability: Required backend services respond to basic requests.
- Startup errors: No fatal errors occur during app initialization.
Mobile smoke tests complete quickly and stop at launch-level validation. Feature behavior, screen navigation, and device interactions are validated later through sanity and end-to-end testing.
How to perform smoke testing
Manual smoke testing approach
In manual smoke testing, a person runs a small set of existence and reachability checks immediately after a build or deployment, without running workflows or validating feature behavior, to confirm that the system started and didn't fail catastrophically.
Manual smoke testing can work for small teams or environments with infrequent deployments. A person can complete these checks in seconds to at most one minute, providing fast confirmation that the environment is testable.
However, manual smoke testing has limitations. It relies on human consistency, is easy to forget under time pressure, and does not scale with frequent deployments. As release frequency increases, manual checks become unreliable and delay feedback.
Conducting smoke testing manually is acceptable as an initial safeguard, but it doesn’t provide a dependable release gate. Teams that deploy regularly automate smoke tests to ensure they run every time.
Automated smoke testing approach
Automated smoke testing executes the same system-health checks automatically after every build or deployment. These checks run without human intervention and provide immediate signal on whether the system is alive and reachable.
Automated smoke tests typically:
- Send simple HTTP requests to core endpoints.
- Validate health or readiness responses.
- Confirm service and dependency connectivity.
- Fail fast on startup or deployment errors.
These checks run in seconds and block downstream testing when the system is not in a valid state.
Smoke testing automation does not require full end-to-end frameworks or user simulation. Smoke tests are commonly implemented using:
- Health endpoints.
- Admin-only diagnostic pages.
- Lightweight scripts using tools like curl or wget.
Automated smoke tests run every time, the same way, in seconds, so when one fails, it's clear the build or environment is broken and not ready for further testing.
Feature validation, workflows, and user behavior are intentionally excluded from smoke testing and are covered later through sanity and end-to-end tests.
A smoke test example in Playwright
Here's a minimal smoke suite using Playwright. It assumes a baseURL for your test environment is set in playwright.config.ts.
import { test, expect } from '@playwright/test';
test.describe('smoke', () => {
test('health check passes', async ({ request }) => {
// Arrange: the request fixture points at your test environment's baseURL
// Act: call the health endpoint
const res = await request.get('/api/health');
// Assert: it returns a success status
expect(res.ok()).toBeTruthy();
});
test('home page loads without errors', async ({ page }) => {
// Arrange: collect any JavaScript errors the page throws
const errors: string[] = [];
page.on('pageerror', (err) => errors.push(err.message));
// Act: load the home page
const res = await page.goto('/');
// Assert: it loads, renders and throws no errors
expect(res?.status()).toBeLessThan(400);
await expect(page.locator('body')).toBeVisible();
expect(errors).toEqual([]);
});
});
Run just the smoke tests with npx playwright test --grep smoke, and make it the first step after deploy in your pipeline.
Integrating smoke tests into CI/CD pipelines
Smoke tests belong in your CI/CD pipeline, running immediately after each deployment to a test environment and before any other tests. This creates an automated quality gate that blocks broken builds from advancing.
Here's how it works:
- Developers push code to the repository
- The CI/CD pipeline builds the application and deploys it to a test environment
- Smoke tests run automatically against the deployed build
- If smoke tests pass, the build advances to the next stage (sanity or regression testing)
- If smoke tests fail, the pipeline stops and alerts the team
This automation ensures that only stable builds advance. Nobody has to check build stability by hand, because the smoke tests do it automatically.
Most CI/CD platforms (GitHub Actions, Jenkins, GitLab CI) support test automation. You configure the pipeline to run your smoke test suite after deployment and block subsequent steps if tests fail.
How to write maintainable smoke tests
Maintainable smoke tests are simple, focused, and resilient to change. Follow these principles:
- Keep tests independent: Each test should run in isolation without depending on other tests. This makes failures easier to diagnose and allows tests to run in parallel.
- Check interfaces, not internals: Validate responses at system boundaries such as health endpoints, service ports, or admin diagnostics. Avoid asserting on internal implementation details.
- Verify availability, not behavior: Confirm that services respond and dependencies are reachable. Don’t validate workflows, business rules, or user-visible behavior.
- Keep tests fast: Smoke tests should finish in seconds, a minute at most. Avoid unnecessary waits, minimize test data setup, and parallelize execution where possible.
- Make failures obvious: When a test fails, the error message should clearly indicate what broke. Use descriptive test names and explicit assertions.
Maintainable tests survive UI changes, refactoring and team turnover, so they keep providing value for years.
Extending smoke coverage beyond the framework
Some teams use QA Wolf to cover smoke testing as part of their automated end-to-end workflows. QA Wolf's AI agents build, run and maintain these tests, and ask your team when they need an answer.
The tests run in CI using Playwright and give a clear release signal, since a blocking failure stops the build early and a passing run moves on to deeper testing, with no separate smoke tests to maintain.
Common smoke testing mistakes to avoid
Testing too much (or too little)
Smoke tests should cover critical functionality, not comprehensive behavior. When you include too many checks, smoke tests become slow, brittle, and expensive to maintain. At that point, the suite functions as regression testing under a different name.
If your smoke tests only check HTTP status codes, you are not creating a meaningful gate. Smoke tests should verify basic system health, meaning the application starts, database connections succeed, key services respond and the deployment hasn't failed catastrophically.
A practical rule is one check per critical entry point or dependency: the app responds, health checks pass, the database and key services are reachable, and the main page loads. Workflows and edge cases belong in sanity and regression testing.
Running smoke tests too infrequently
Smoke tests only provide value when you run them after every build. Running them once per day or only before release delays feedback and defeats the purpose.
The goal of smoke testing is fast feedback. If you deploy a build at 10 AM and don't run smoke tests until 5 PM, you've wasted seven hours. Developers have moved on to other work, context has been lost, and the broken build might have blocked other team members.
Run smoke tests after every deployment to a test environment. This creates an automated quality gate that catches problems immediately. If smoke tests fail, the team knows within minutes, not hours or days.
Modern CI/CD platforms make this easy, since you can configure the pipeline to run smoke tests automatically after every deployment.
Smoke testing as part of a comprehensive QA strategy
Where smoke testing fits in modern test coverage
Smoke testing runs before deeper test suites and determines whether further testing is worth running at all. It executes immediately after a build is deployed to a test environment and acts as the first checkpoint in the validation process.
If smoke tests fail, the build stops, since there's no value in running sanity, regression or broader end-to-end tests against a system that's fundamentally broken. When smoke tests pass, downstream tests run with higher confidence that failures reflect real regressions rather than unstable builds or environments.
This sequencing improves the signal, because catastrophic failures surface within minutes and deeper tests can focus on regressions, edge cases and secondary behavior instead of rediscovering basic breakage.
In modern workflows, smoke testing is the first run of your end-to-end testing, used to decide whether the rest of the test suite should run at all.
From smoke tests to full E2E coverage
Smoke testing verifies that a build started successfully and is viable for further testing, but it doesn't verify product behavior or correctness, so you also need full end-to-end test coverage.
Full E2E coverage extends beyond basic viability checks to include workflows, edge cases, and integration scenarios. The transition from smoke testing to full coverage is incremental. Teams start by establishing a release gate, then expand coverage, critical flows first, until everything a user can do has a test.
Smoke testing establishes a fast, reliable release gate, but deep coverage takes ongoing test creation, reliable execution at scale and continuous maintenance as the product changes, which is where QA Wolf comes in.
QA Wolf is a platform your team can use directly, and also a managed testing service. Its AI agents map your app's workflows, write production-grade Playwright and Appium tests and keep them up to date as the UI, logic and integrations change. The tests stay human-readable and portable, so coverage never becomes a black box.
Behind the tests, QA Wolf runs them on containerized infrastructure built for parallel execution. Large end-to-end suites run in minutes instead of hours, which keeps feedback loops short even as coverage expands. Because test creation, maintenance and execution are handled continuously, teams build high coverage without turning end-to-end testing into a maintenance burden.
Start now and ask the agent to build your smoke tests and the end-to-end suite behind them, or talk to sales.
Frequently asked questions
How long should a smoke test take to run?
A smoke test should complete in seconds. Most automated smoke tests finish in under 30 seconds because they only check system health, service reachability, and startup stability. If a smoke test takes longer than one minute, it is testing beyond smoke scope. Checks that validate features or workflows belong in sanity testing.
Manual smoke checks should also be brief. If they take more than a minute, the checklist has expanded past smoke testing and should be reduced.
Can smoke testing be done without automation?
Yes, smoke testing can be performed manually using a predefined checklist of critical test cases. Manual smoke testing works for small teams, applications with infrequent releases, or when first establishing a testing process. However, manual smoke testing is easy to forget, easy to rush, and easy to expand beyond its intended scope. People may skip checks under time pressure or drift into exploratory testing when they notice something interesting. As release frequency increases, manual smoke testing becomes slower, more error-prone, and a bottleneck. Most teams start with manual smoke tests and transition to automation as their testing maturity grows.
What's the difference between smoke testing and build verification testing?
Smoke testing and build verification testing (BVT) are two names for the same practice. Both terms describe preliminary tests that verify a software build's core functionality before proceeding to comprehensive testing. The term "build verification testing" is more common in enterprise environments, while "smoke testing" is widely used across the industry. You may also hear it called "confidence testing" or "sanity check," though both terms technically refer to different, more focused types of testing.
What is done in smoke testing?
A smoke test checks that a new build deploys, starts and can reach what it depends on: the app loads, health checks pass, and the database and key services respond. It doesn't test features in depth. If any check fails, the build is rejected before further testing.
What exactly is a smoke test?
A smoke test is a short set of checks, usually automated, that runs right after a build is deployed to confirm it's stable enough for deeper testing. It's also called build verification testing.
What is the difference between UAT and smoke testing?
Smoke testing is an automated check, right after a deploy, that the build works at all. User acceptance testing comes near the end of a release and checks whether the software meets business and user needs. Smoke tests take seconds; UAT can take days.
Is smoke testing the same as sanity testing?
No. Smoke testing checks that the whole build is stable enough to test. Sanity testing checks that a specific change or fix works. Smoke tests run first, on every build; sanity tests run after, on the parts that changed.