Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the value added from a smoke test?

Tags:

testing

Or maybe with our implementation of it. I'm new to the team that wants to go through the process and it seemed to confuse some of our members on the team including me. We were given what I would consider a user acceptance test or list of manual actions that you would click on through to see if everything was working. I was thinking it would have just been more simple than that, as we'd just divide up the sections of the application and just generally go across it looking for huge errors. This would involve no scripting, just clicking each page, maybe filling stuff out, making sure it submits ok. And that gets me to my other point, it seems to me that smoke testing is basically worthless. I would think that instead you'd have unit tests or even automated tests that would go through a requirement list to make sure this sort of thing would be happening correctly. Even if that was not completed at the very least I'd think the developer who checked in the code in the first place would have at least done a mini smoke test that made sure that their functionality worked in the first place. We brought this up in the meeting so you can imagine the confusion, and it gets me back to my question, what value are we going to get out of this type of smoke testing?

like image 989
rball Avatar asked Jan 09 '09 17:01

rball


People also ask

What benefits can be derived from smoke testing?

Advantages of Smoke testingIt helps in finding the bugs in the early stage of testing. It helps in finding the issues that got introduced by the integration of components. It helps in verifying the issues fixed in the previous build are NOT impacting the major functionalities of the application.

What is the purpose of a smoke test?

The Purpose and Importance of Smoke Testing The main purpose of smoke testing is not to find bugs in the software but rather to let the system test team know what their starting point is. Smoke testing provides a goal for the developers and lets them know when they have achieved a degree of stability.

What does a smoke test consist of?

Smoke testing involves setting up a blower then pumping non-toxic, simulated smoke through a community's sanitary sewer line. The smoke is pressurized and follows the path of any leaks within the system – revealing points of entry for I&I.

What is a smoke test in validation?

A smoke test is a method for determining if there is sufficient customer demand for a given value proposition of a product or service to justify building the actual product or service.


2 Answers

The value of any testing is to increase your confidence in an implementation. Doing a 'smoke test" of this sort is here to increase the confidence that it did get built correctly, and that there are no major and embarrassing errors, like the UI won't come up. So it's basically a low-effort test to confirm that nothing really major went wrong.

It may not sound very useful, but I've seen heavily tested code fail a "smoke test" because of, for example, an unexpected failure in the build or a corrupted image. Usually when it's being demonstrated to an important customer.

like image 189
Charlie Martin Avatar answered Oct 02 '22 20:10

Charlie Martin


If you define smoke test as, "Run through the basic features of the system to make sure they work" then I think there is value in this. Unit tests, while necessary are not all inclusive. They don't find any integration bugs. As far as automating the testing, I have yet to see a system that can be completely tested with automation, and even if you can, such automation takes time and effort to accomplish.

Basically, the value I see in it is lets make sure that changes we made to the code today didn't break anything that was working yesterday. Depending on how diciplined your coding practices are, this is not always a given.

like image 38
Craig H Avatar answered Oct 02 '22 20:10

Craig H