Open main menu

Wikipedia β

In computer programming and software testing, smoke testing (also confidence testing, sanity testing,[1][2] build verification test (BVT) and build acceptance test) is preliminary testing to reveal simple failures severe enough to (for example) reject a prospective software release. A smoke tester will select and run a subset of test cases that cover the most important functionality of a component or system, to ascertain if crucial functions of the software work correctly.[1]:37[3] When used to determine if a computer program should be subjected to further, more fine-grained testing, a smoke test may be called an intake test.[1]:25 Alternately, it is a set of tests run on each new build of a product to verify that the build is testable before the build is released into the hands of the test team.[4] In the DevOps paradigm, use of a BVT step is one hallmark of the continuous integration maturity stage.[5]

For example, a smoke test may address basic questions like "does the program run?", "does the user interface open?", or "does clicking the main button do anything?" The process of smoke testing aims to determine whether the application is so badly broken as to make further immediate testing unnecessary. As the book Lessons Learned in Software Testing[6] puts it, "smoke tests broadly cover product features in a limited time ... if key features don't work or if key bugs haven't yet been fixed, your team won't waste further time installing or testing".[7]

Smoke tests frequently run quickly, often in the order of a few minutes, giving the benefit of quicker feedback and faster turnaround than the running of full test suites, which can take hours – or even days.

Smoke testing performed on a particular build is also known as a build verification test.[3][7][8]

A daily build and smoke test is among industry best practices.[9][need quotation to verify] Smoke testing is also done by testers before accepting a build for further testing. Microsoft claims that after code reviews, "smoke testing is the most cost-effective method for identifying and fixing defects in software".[10]

One can perform smoke tests either manually or using an automated tool. In the case of automated tools, the process that generates the build will often initiate the testing.[citation needed]

Smoke tests can be broadly categorized[by whom?] as functional tests or as unit tests. Functional tests exercise the complete program with various inputs. Unit tests exercise individual functions, subroutines, or object methods. Functional tests may comprise a scripted series of program inputs, possibly even with an automated mechanism for controlling mouse movements. Unit tests can be implemented either as separate functions within the code itself, or else as a driver layer that links to the code without altering the code being tested.[citation needed]

See alsoEdit


  1. ^ a b c Standard Glossary of Terms used in Software Testing, Version 2.4 (Report). International Software Testing Qualifications Board. 2014. 
  2. ^ Standard Glossary of Terms Used in Software Testing, Standard Glossary of Terms Used in Software Testing International Software Testing Qualification Board.
  3. ^ a b Dustin, Rashka, Paul. "Automated Software Testing -Introduction, Management, and Performance". Addison-Wesley 1999, p. 43-44. ISBN 0-201-43287-0.
  4. ^ Samuel Menaker; Sheetal Guttigoli (14 December 2014). Managing Software Development. Samuel Menaker, Sheetal Guttigoli. p. 40. GGKEY:JH61NP21TXJ. 
  5. ^ PowerShell Magazine, DevOps, Infrastructure as Code, and PowerShell DSC: The Introduction, by Ravikanth C, January 5, 2016
  6. ^ Cem Kaner, James Bach, Bret Pettichord, Lessons learned in software testing: a context-driven approach. Wiley, 2001
  7. ^ a b Kaner, Bach, and Pettichord. "Lessons Learned in Software Testing". Wiley Computer Publishing, 2002, p. 95. ISBN 0-471-08112-4
  8. ^ "How to: Configure and Run Build Verification Tests (BVTs)". MSDN Library for Visual Studio 2005. Retrieved 2010-11-20. 
  9. ^ McConnell, Steve. "Rapid Development". Microsoft Press, p. 405
  10. ^ "Guidelines for Smoke Testing". MSDN Library for Visual Studio 2005. Retrieved 2010-11-20. 

External linksEdit