exact difference between smoke testing, sanity testing and
unit testing

Answers were Sorted based on User's Feedback



exact difference between smoke testing, sanity testing and unit testing..

Answer / 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

exact difference between smoke testing, sanity testing and unit testing..

Answer / guest

Unit testing:-unit testing done by developer in dev
environment.In unit testing each line,statements,conditions
statements,loops and flow of the program is tested by developer.

smoke testing:-dis also done by developer in dev
environment.after system testing, developer will create
build and check whether it could be able to deploy and
stable or not.if it can't be deploy it will not be given to
testing purpose.
sanity testing:-dis is done by tester in test env.here after
build is given by developer the first thing is done by
tester is sanity testing.In this tester verify the basic and
imp functionalities without going into the deep testing.if
any show stopper defect are found it will be suspend and
given to the developer

show stopper defects are like inbox not able to open,mail
not able to send etc

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Manual Testing Interview Questions

What are differences in testing a client server and a web application?

0 Answers   CTS,


What is Snapshot Testing? When we need to do and who will involve in this process and also what is the output document of this testing

0 Answers   HP,


Can you explain a pair-wise defect?

0 Answers  


How to test cookies in Manual testing?

4 Answers   Infosys,


What is meant by Risk Analysis?

5 Answers   Accenture,






in an online banking software,users are connecting to bankserver by login.This login module can take below inputs for user. a/c number prefix-3 digits but doesnot start with 0&1 a/c number sufix-6 digits number password-5to 10 chars alphanumerics in lowercase areacode-3 digits number but optional purpose- cheque deposit money trasfer mini statement bills pay After filling above fields,user can click submit button to connect to bank server.prepare test scenarios for online banking s/w login.

0 Answers  


Two negative Testcases for Excel Sheets

1 Answers  


What is difference between load testing and stress testing?

6 Answers   Innodata,


how much testing is enough.and why documentation is needed

2 Answers  


I have 2+ year of work exp in manual testing and i have good knowledge in QTP.anybody have requirement in your company please please tell me

0 Answers  


I HAVE AN INTERVIEW IN A SOFTWARE COMPANY FOR THE POST OF FUNCTIONAL TEST ENGINEER. THEY WANT THE PERSON FROM BCOM BACK GROUND( I AM A BCOME GRADUATE 2006) AND THE PERSON SHOULD HAVE GOOD ACCOUNTS KNOWLEDGE. NOW I WANT TO KNOW WHAT KINDS OF QUESTIONS THEY CAN ASK OR CAN GIVE IN WRITTEN TEST. I M NERVOUS COZ ITS BEEN 5 YEARS I HAVE DONE BCOM. SO HOW SHUD I PREPARE FOR INTERVIEW.PLEASE HELP? reply me pls. its urgent. thanks

0 Answers  


What are the different types of joins

11 Answers   SumTotal,


Categories