In computer programming and software testing, smoke testing (also confidence testing, sanity testing, 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. Smoke tests are a subset of test cases that cover the most important functionality of a component or system, used to aid assessment of whether main functions of the software appear to work correctly. - wikipedia
一说这一术语源自硬件行业:对一个硬件或硬件组件进行更改或修复后,直接给设备加电,如果没有冒烟,则该组件就通过了测试。 冒烟测试(smoke testing)指的是将代码更改嵌入到产品的源树之前对这些更改进行验证的过程,它用于确认代码中的更改会按预期运行,且不会破坏整个版本的稳定性。
据百度百科,冒烟测试测的是软件的基本功能,而不是对软件版本包的深入测试,它是针对软件版本包进行详细测试之前的预测试。
执行冒烟测试的主要目的是快速验证软件基本功能是否存在缺陷,如果冒烟测试的测试用例没有通过,那么就不必进行入下一步的测试。