exact difference between smoke testing, sanity testing and
unit testing

Answer Posted / radhika jadhav

SMOKE TESTING:
* Smoke testing originated in the hardware testing
practice of turning on a new piece of hardware for the first
time and considering it a success if it does not catch fire
and smoke. In software industry, smoke testing is a shallow
and wide approach whereby all areas of the application
without getting into too deep, is tested.
* A smoke test is scripted, either using a written set
of tests or an automated test
* A Smoke test is designed to touch every part of the
application in a cursory way. It’s shallow and wide.
* Smoke testing is conducted to ensure whether the most
crucial functions of a program are working, but not
bothering with finer details. (Such as build verification).
* Smoke testing is normal health check up to a build of
an application before taking it to testing in depth.

SANITY TESTING:
* A sanity test is a narrow regression test that focuses on
one or a few areas of functionality. Sanity testing is
usually narrow and deep.
* A sanity test is usually unscripted.
* A Sanity test is used to determine a small section of
the application is still working after a minor change.
* Sanity testing is a cursory testing, it is performed
whenever a cursory testing is sufficient to prove the
application is functioning according to specifications. This
level of testing is a subset of regression testing.
* Sanity .testing is to verify whether requirements are
met or not, checking all features breadth-first.

Unit Testing:Testing performed on single,standalone module
or unit of code to ensure correctness of particular
module.Focuses on implementation logic,so the idea is to
write test cases for every method in the module.The goal of
unit testing is to isolate each part of the program and show
the individual parts are correct.This type of testing is
mostly done by developers.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

iwant know IEEE formate ,how it is used and exactly where it is used? i have details it follows test plan, testcases...etc. i want real time explanation. pls any one give?

1423


Assume a login page, and you have written 10 cases(say for example). How will you justify that these 10 testcase suffient for the login and how do you say this is 100% satisfies the need.

1728


What is validation in software testing?

712


What is Catapult Testing in E-Learning Domain?

4669


What is Application Performance testing and Operational performance testing

1580






What is your Approach when you find 10 Sev-1 bugs in 50 test cases?

2069


What is a critical bug?

657


How would u test and automate an Antivirus application ?

1535


Hi i am looking for Test Engineer Job, i have done the course, but i don't have work experience on it, Is it So important to have real time Exp or knowledge is enough? and please let me know like how i can improve for the interview. You can send me a mail on this id: rashmi_vastred@yahoo.co.in

1623


How do your characteristics compare to the profile of the ideal manager that you just described?

2695


What is Test Design?

1751


What is frame level testing and how do we test it?

1971


Why do you need to parameterize fields in your virtual user script?

1662


Is there any procedure of web-site development in manual testing. If yes what are factors we should test?

1863


what are your achievements in your organization ? Guyz very very urgent , help me

1655