HCL Interview Question
Testing / Quality Assurances'Smoke Testing' is a highly abused term, which actually refers to the testing of a system to destruction (in early analogue systems, a smoke test would test the circuit until it literally burn out, producing smoke). Now, the term 'smoke test' is a basic check to make sure the system (web server, app server, database etc) is up which typically lasts no more than 10 minutes. A sanity check is a slightly more involved check, usually a checklist intended to ensure that the various parts of the system are awake, functioning and connected to each other.
The smoke test makes sure the system is awake, and is usually carried out by the development team. The sanity check can be performed by dev, but usually be QA and makes sure the that a release has been correctly performed and the system is in a testable state.
Whenever the tester receives a build, this is the first test to be conducted in order to ensure the build is working correctly or not, if there are any critical erros then it is reported to the developer. this is SANITY TEST.
SMOEK TEST or ENVIRONMENT BREAKDOWN TEST :This test is done after creating a environment for testing and tested if the environment is suitable for testing or not.
There is a very big misconception between Smoke and Sanity Testing. But this is the most important question in the interview
Smoke and Sanity Testing are both same. But in the internet you may get many questions in this
you can call Smoke Testing or Sanity Testing , Skin Testing , Dry Testing.
But you have make sure that for cracking any interview you have to give the difference. You will get the answers in many sites abt the difference. Coz you cannot tell the Interviewer that sorry I am not gonna give you the answer. Joke apart.
Smoke testing OR Sanity Testing OR Dry Testing Or Skin Testing
It is done either by Developer or Tester. In this whenever the developer completes with the Coding part then you will the get the build . The you just have to test just to check whether the main or Critical or basic functionality of the application are working or not. So that we cn do Thorough or rigorous testing . We will test the Show stopper defect
Example : Installation
Smoke testing is very Important.
Smoke testing is done just ensure that you will find the defect initially and the developer will get enough time to fix any bug and the duration of the test cycle will not extend .
Smoke testing performed after software build to ascertain that the critical functionality of the software are working fine
Sanity Testing
After receving a software build with minor changes in code or functionality sanity testing is performed to ensure that bug has been fixed. And no further bug introduced due to changes.
Smoke Testing refers to a situation where the tester checks the major functionality of an application due to factor like time constraint,product ready for delivery etc.
- Suraj April 07, 2012Example:A content based site having only a contact us form is an important functionality considering that the end user gets in touch with site owner only through this form.
From a Business perspective this is very important factor for such sites.
Sanity Testing :A sanity test is a narrow regression test that focuses on one or a few areas of functionality. It usually checks if the build is stable or not.
EG:For the eg of telephone, If we check the
functionality like while lifting the receiver, it should
give the dial tone. if it fails, then its waste of time to
continue with the testing phase.