Smoke Testing: The Complete Guide (2026)
Smoke testing is a quick, shallow check of a software build's most critical functions to confirm it's stable enough for deeper testing. It's the first gate after a new build is ready, designed to catc
Smoke testing is a quick, shallow check of a software build's most critical functions to confirm it's stable enough for deeper testing. It's the first gate after a new build is ready, designed to catch catastrophic failures—like a smoke test in electronics that checks if a device catches fire when powered on. If the smoke test passes, the build is considered "smoke-free" and can proceed to more rigorous testing phases.
Why smoke testing matters
The primary goal of smoke testing is to save time and effort. By identifying major, show-stopping bugs early, you prevent your QA team from wasting hours executing a full test suite on a fundamentally broken build. It acts as a sanity check for developers, confirming their integration hasn't broken core user journeys. For teams practicing continuous integration and delivery (CI/CD), a fast, automated smoke test is a non-negotiable gate that keeps the pipeline flowing and prevents defective code from reaching staging or production environments.
How smoke testing works: a step-by-step guide
A structured smoke testing process ensures consistency and reliability.
Step 1: Identify critical test cases
The foundation of a good smoke test is selecting the right test cases. These should cover the absolute core functionality of your application—the features that, if broken, would make further testing pointless. For a shopping app, this might be: launching the app, browsing a product category, adding an item to the cart, and initiating the checkout process. For a SaaS platform, it's likely user login, loading the main dashboard, and accessing a primary feature module. Keep this list short, typically 10-20 test cases at most.
Step 2: Prioritize and script tests
Once you have your critical paths, you need to define the exact steps to verify them. This is where you decide between manual and automated execution. For manual testing, create a concise checklist. For automation, write the scripts using your chosen framework (e.g., Appium for mobile, Playwright for web). The key is that these scripts must be fast and reliable.
Step 3: Execute the tests
Run your smoke test suite against the new build. This execution should be triggered automatically as part of your CI/CD pipeline (for automated tests) or assigned immediately to a tester (for manual checks). The environment should be as close to production as possible, using a clean installation or deployment of the build under test.
Step 4: Analyze results and report
The outcome is binary: pass or fail. If all critical tests pass, the build is "smoke-free" and can proceed. If any critical test fails, the build is rejected. The failure should be reported immediately to the development team with clear details—logs, screenshots, and the specific test case—so they can begin fixing the issue. The build does not move forward until the smoke test passes.
A worked example: e-commerce mobile app
Let's walk through a practical smoke test for a mobile shopping application after a new Android APK is built.
Build Ready: app-release-v2.1.5.apk
Smoke Test Suite (Critical Paths):
- App Launch: Install the APK on a test device and verify it opens without crashing.
- User Login: Enter valid credentials and verify the user is redirected to the home screen.
- Product Search: Use the search bar to find a specific product and verify results load.
- Add to Cart: Select a product from the search results and tap "Add to Cart," verifying the cart icon updates.
- Navigate to Cart: Open the cart screen and verify the added item is present.
Execution:
- Automated Approach: A CI job (e.g., GitHub Actions) downloads the new APK, runs an Appium script that performs these five steps on a cloud device, and outputs a pass/fail result.
- Manual Approach: A QA engineer installs the APK on a physical phone, follows the checklist, and marks each step as pass/fail.
Outcome: If test #3 (Product Search) fails because the results screen crashes, the smoke test fails. The build is rejected, and the crash log is sent to the development team. No further regression or integration testing is performed on this build.
Common smoke testing mistakes
Avoid these pitfalls to keep your smoke testing effective.
- Testing too much: A smoke test is not a regression test. Including dozens of test cases defeats its purpose of being fast. If it takes longer than 15-30 minutes, it's too slow.
- Unreliable test scripts: Flaky automated tests that fail intermittently for environmental reasons will cause false rejections and erode trust in the process.
- Neglecting the test suite: As the application evolves, the "critical path" may change. Failing to update smoke test cases means you might not be testing what's actually critical anymore.
- Skipping it under pressure: The busiest release cycles are when smoke testing is most valuable. Bypassing it to "save time" almost always leads to wasted time later when major bugs are found deep in the testing cycle.
Best practices for effective smoke tests
Follow these guidelines to build a robust smoke testing process.
- Automate early: Manual smoke tests are a bottleneck. Integrate automated smoke tests into your CI/CD pipeline to get instant feedback on every build. Use the
--format junitflag with tools like the SUSA CLI to generate CI-readable results. - Keep it focused and fast: Ruthlessly prioritize. Ask: "If this one thing is broken, should we stop testing?" If yes, it's a smoke test case.
- Maintain a stable test environment: Inconsistent environments (different OS versions, network settings) are a primary cause of flaky tests. Use containerized services or dedicated, version-controlled test devices.
- Treat failures as blockers: A failed smoke test must stop the line. Cultivate a team culture where fixing a smoke test failure is the top priority before any new work continues.
- Review and update regularly: Every major feature release, revisit your smoke test suite to ensure it still covers the core user journey.
Where autonomous exploratory testing fits
Traditional, scripted smoke tests verify that *specific, expected* critical paths work. Autonomous exploratory testing, like that performed by SUSA, complements this by asking a different question: "What *unexpected* critical failures exist that we didn't think to script?"
After your scripted smoke test passes, you can run an autonomous agent to explore the build freely. Using different test personas (like an "impatient" or "novice" user), it taps through the app, following real user flows and discovering crashes, dead buttons, or broken navigation that your predefined scripts might miss. This is especially valuable for verifying the stability of areas impacted by the latest changes.
You can integrate this into a CI pipeline as a secondary, deeper stability check. For example, after a scripted smoke test passes, you could run:
susatest-agent test ./app-release.apk --persona impatient --format junit --output susa-results.xml
This provides an additional layer of confidence by simulating unpredictable user behavior on a build that has already proven its basic functionality.
Smoke testing vs. sanity testing vs. regression testing
It's easy to confuse these related but distinct types of testing.
- Smoke Testing: "Is the build *stable*?" Broad and shallow. Done on a *new build* to decide if it's testable.
- Sanity Testing: "Did my *specific change* work?" Narrow and deep. Done on a *stable build* after a minor change (like a bug fix) to verify that change and nothing obvious around it broke.
- Regression Testing: "Did my new change break *anything old*?" Broad and deep. Done to ensure new code hasn't adversely affected existing functionality, often involving a large suite of test cases.
For a complete look at automating different testing stages, see our guide on CI/CD for mobile autonomous testing.
Frequently asked questions
What's the difference between smoke testing and sanity testing?
Smoke testing is done to validate the stability of a *new build* and is a gate for further testing. Sanity testing is done to validate the correctness of a *specific bug fix or small change* in an already stable build. Smoke is "build acceptance," while sanity is "change verification."
Should smoke tests be automated or manual?
For any team practicing frequent integration, automation is essential. Manual smoke tests become a bottleneck and slow down delivery. Automated smoke tests in CI/CD provide immediate, consistent feedback. The effort to automate a small set of critical tests pays off quickly.
When in the development cycle should you run smoke tests?
Smoke tests should be run immediately after every new build is created, before any other form of testing (like regression or integration testing). In a CI/CD pipeline, the smoke test suite is often the very first test job that runs after the build job succeeds.
Can you do smoke testing in production?
Yes, this is sometimes called "production smoke testing" or a "health check." After a deployment to production, a quick, automated test can run against the live environment to verify the deployment was successful and core features are responding. This is distinct from the pre-release smoke test but serves a similar purpose: confirming basic stability.
How does smoke testing fit with modern CI/CD?
In CI/CD, the automated smoke test is a critical quality gate. If the smoke test fails, the pipeline should be configured to halt—preventing the broken build from progressing to later stages like staging deployment or further automated testing. This "fail fast" approach is core to efficient CI/CD. For teams looking to implement this, comparing Fastlane vs Bitrise vs GitHub Actions can help choose the right CI infrastructure.
What are good tools for automated smoke testing?
For web applications, tools like Playwright, Cypress, or Selenium are commonly used to script critical path tests. For mobile apps, Appium, Espresso (Android), or XCUITest (iOS) are standard. The key is choosing a framework that integrates easily with your CI system. For teams looking to add an autonomous, exploratory layer to their stability checks, SUSA can run after scripted smoke tests pass.
Test Your App Autonomously
Upload your APK or URL. SUSA explores like 11 real users — finds bugs, accessibility violations, and security issues. No scripts. New to the category? Start with what autonomous product intelligence & QA means.
Try SUSA Free