1 what is smoke and sanity testing , when it will be
performed ?

Answers were Sorted based on User's Feedback



1 what is smoke and sanity testing , when it will be performed ?..

Answer / tammali nagaraju

what is smoke test?
It is a initial level of testing coducted on the application
to check whether the required functionality available or not.

What is sanity test?
It is also initial level of testing coducted on the
application to check whether the available functionality is
proper or not.

these are performed after relesing the every build.

Is This Answer Correct ?    2 Yes 0 No

1 what is smoke and sanity testing , when it will be performed ?..

Answer / sharada

What is the difference between sanity testing and smoke
testing when we conduct these tests on our application?



There's no scientific definition for sanity testing and
smoke testing, and I'm sure someone will take issue with
this answer no matter how I phrase it. Regardless, I use
these terms regularly in my test management. Smoke testing,
to me, is testing performed daily after a new build has
been created. Sanity testing, on the other hand, probes
around an application after a fix has been made. This is an
extension to, not a replacement for, regression testing.

I've always envisioned the phrase 'smoke testing' getting
started back in the early twentieth century with the first
few car manufacturers. Once the car had been assembled,
someone oiled the lifters, poured some gas in the tank, and
fired it up. As the car ran, they looked for smoke where it
didn't belong. In IT, smoke testing is pretty much the
same. Grab the most recent build, fire it up, and run a
series of very high-level tests, looking for major
failures. My test organizations have all taken the same
approach -- our smoke testing was broad and shallow. We
probed each significant feature area, making sure it was
even functional and accessible. If smoke tests passed,
testers (or the infrastructure team) could invest time in
deploying this latest build. Testing then continued on,
with each tester pushing deeper into their feature area.

Another use of smoke testing is to probe a configuration
before running a long test pass. For instance, in my
performance test work, I will have a build deployed, set up
my tools, and run a quick (30 seconds, 5 minutes...it
depends on the size of the test) pass against everything at
a low load/transaction rate. This is just to prove
everything works fine. There's nothing like getting a 5-
hour performance pass set up and kicked off, only to find
the database is non-responsive or there's a problem with
the VLAN somewhere!

The key to good smoke tests is that they are broad and
shallow, and their goal is to just ensure basic
functionality. They're an 'all clear' shout to the rest of
the organization that they can jump in on the new build.

Sanity testing, on the other hand, is the testing I do
after regressing a major fix right before release. I had a
test manager who frequently referred to the things we do in
test as 'healthy paranoia' and sanity testing is a perfect
example. When a project is winding down to the finish, we
start cutting release candidates. Test goes to work on
those RCs -- it's funny, but no matter how hard we test
during the development/stabilization cycle, we always seem
to find bugs in RC mode. When a bug is found and accepted
for fix, it's up to the test organization to regress that
fix. Regression testing is a well-understood concept: it's
the act of making sure a recent fix 1) fixed the problem as
intended and 2) didn't cause new bugs in affected or
related areas.

Sanity testing is the next stage in that process. After
regressing a fix, that healthy paranoia kicks in and it's
time for testers to probe the rest of the release looking
for any potential downstream impacts. It's also making sure
that any dependencies built appropriately (ie, if your
application is split between an .exe and a few .dlls, while
the bug may have been fixed in the .exe it's important to
fire up each dll and ensure it built appropriately, etc.).
Whereas smoke testing is generally scripted, focuses only
on high-priority cases and is not intended to find low
priority bugs and such, sanity testing is generally ad-hoc
(unscripted), broad yet deep, and can find either high or
low priority bugs. This is where experience, and a little
paranoia, pays off. I have personally seen the strangest
issues come up during my sanity testing, after deep
regression yielded nothing.

Software testing resources:
How to conduct regression tests

Automating regression test cases

How to define a test strategy


Another definition of the term 'sanity testing' is somewhat
related. When a new operating system or other core
dependency shipped, my teams in the past have run some form
of testing. If the dependency is low, we'd talk about these
tests as 'quick sanity checks.' For instance, I used to
work in Mobile Devices at Microsoft, on the ActiveSync
team. There are two components to ActiveSync -- there's the
desktop (or server) component, and there is the device
component. If the PocketPC team made a chance to, for
instance, Pocket Outlook, we would be sure to run a test
pass -- if the change had little or nothing to do with
actual inbound and outbound mail (say it was a fix to
address book integration), we'd run 'a quick sanity pass'
with feature owners validating their features. Rather than
running through each and every test case, or picking a
certain set of cases by priority, feature owners would
simply carve out a chunk of the day and spend a few hours
in focused, ad-hoc testing. The goal was to be comfortable
that the changes made didn't affect our features. Sanity
testing was only a viable option, however, when changes
hadn't been made in our core code. If fixes were made
within the Sync code, we would run a formal regression test
pass -- and then sanity check other areas of our product.

Is This Answer Correct ?    1 Yes 0 No

1 what is smoke and sanity testing , when it will be performed ?..

Answer / rajendra




Ans: In my view,there is no difference between Smoke test
and Sanity Test.

This will be performed very first after reciving every
build for testing.

This is used to find show stopper bugs in the system under
test.

Show stopper means which stops or prevents the exection of
test cases further.

for example a web baes application has log in functionality.

then every user must login using valid user id and password.

but the login functionality is not working properly and it
is not allowing the user to login

in to the system.

this means it is stopping the user to loggin in tio the
system.

now we cnnot execute inner functionalitty related testcases.

if w find show stoppers in smoke/sanity test simply we will
reject build .

then developpers will fix the show stoppers then again they
will send a new build.

one meore important issue is that:smoke/sanity test must
finish with in 1 hour max

then we should send a mail to development team that we are
acceptiong a build/rejecting a build.

byee
rajendra prasad reddy
9885162742
hyd
inida

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Manual Testing Interview Questions

What are stage in a Bug Life Cycle?

14 Answers  


How will you test language converter e.g. (English to Spanish) without Automation tool? OR What are the test cases or scenarios for language converter? Conditions: 1. without Automation tool, 2. You know only English language. 3. Make sure the tests should produce 80-90% pass result.

2 Answers   Mastek,


If the bug is found by customer and he will put that bug in DTS , that bug is visible 1 - Dev Team 2 - Test Team 3 - B. A. Team 4 - 1 & 2

7 Answers   NIIT,


What is the responsibility of programmer’s vs QA?

0 Answers   3i Infotech,


why do u put the bug status as deffered?what do u mean by that exactly?

5 Answers   Wipro,






How you send defect report?

5 Answers   AppLabs,


What is Desktop Testing

0 Answers  


DESCRIBE s/w quality assurence &s/w quality control

6 Answers   Accenture,


hi what are the test cases for web application..i need these example..please..mail me at mina_ims@yahoo.com

0 Answers  


About Testing

0 Answers   Syntel,


1.register as candidate 2.go to skill set module 3.select any skill for test eg:"java" 4.save, page will open with start button on below 5.click on start button to start test for java this is a flow so do i need write test cases for this if yes,then how? plz help me guyss

1 Answers  


you need to deliver the product on monday, but in friday ur test cases get crashed, what you will do?

3 Answers   CTS,


Categories