Skip to content

Origin

The term comes from plumbing in 1875, moved to electronics (power up and check for smoke) and then to software via Microsoft and Steve McConnell.

The plumbing industry used smoke in 1875 to detect leaks in closed pipe systems. Electronics adopted the image: power up a new circuit and see if it smokes. Software borrowed it through Steve McConnell and Microsoft's build process in the 1990s. The image is visceral and survives translation: no smoke means the build is alive.

The phrase smoke test comes from electronic hardware testing. You plug in a new board and turn on the power. If you see smoke coming off the board, you turn off the power and prepare for the next step.

— Cem Kaner, James Bach and Brett Pettichord, *Lessons Learned in Software Testing*
Why smoke tests should always be your first test