WHAT IS A SOFTWARE BUILD?
WHAT IS SMOKE TESTING?
FEATURES OF SMOKE TESTING
WHY IS SMOKE TESTING PERFORMED?
HOW IS SMOKE TESTING PERFORMED?
WHEN IS SMOKE TESTING PERFORMED?
www.edureka.co
DEMO: HOW TO CREATE SMOKE TEST CASES?
SMOKE TESTING vs SANITY TESTING
SMOKE TESTING BEST PRACTICES & TOOLS
www.edureka.co
SDLC
(Software Development Life Cycle)
Every build is handed to
QA team to test the
functionality
www.edureka.co
Buildisaversionofasoftwareapplication
whichisstillundertesting.
Buildistheprocessoftakingallsourcecodefilesthatmakeupanapplication
andcompilingthemintobuildartefacts,suchasbinariesorexecutables.
Buildispieceofsoftwareapplicationwhichisaccountableforaparticular
functionalitiesinasoftwareproduct.
www.edureka.co
www.edureka.co
Software Testing
SmokeTestingisoneofthepopularsoftwaretestingservices performedaftersoftwarebuildtofindifthecriticalfunctionalitiesof
theprogramareworkingfine.
What is Smoke Testing?
Code
Base
Initial
Build
Smoke
Test
Test
Pass?
YES
Further Rounds of
Testing
NO
Built is rejected
Passed builds
(further tests)
Initial Builds
SMOKE TEST
Rejected Build
SmokeTestingisoneofthepopularsoftwaretestingservices performedaftersoftwarebuildtofindifthecriticalfunctionalitiesof
theprogramareworkingfine.
What is Smoke Testing ?
www.edureka.co
Well there are two interesting theories
for that……
Why the name ‘Smoke
Testing’?
Origin of Smoke Testing
AccordingtoWikipedia,theterm“smoketesting”likely
originatedintheplumbingindustry
Anothertheorystatesthattheterm‘smoketest’foundits
voguefromasimilarhardwaretesting
www.edureka.co
www.edureka.co
Features of
Smoke
Testing
www.edureka.co
Worksas
Gatekeeperforthe
builds
Applicableto
integration,system
&acceptance
testing
Ensuresthat
critical
functionalities
areworkingfine
Alsocalled
BuildVerification
Testing
Alsotermedas
intaketest
Canbeexecuted
manuallyorbe
automated
Itsnon-
exhaustive
testing
www.edureka.co
When do we do
Smoke Testing?
Done by developers before giving build to testing team
Done by testers before they start the detailed testing
When new functionalities of software are developed
➢DonebyDevelopmentTeambefore
buildisreleasedtoQATeam
➢DonebyQATeambeforesubjecting
buildtofurthertests
www.edureka.co
Defects & bugs identified at early stages
It minimizes integration risks
Saves test effort as well as test time
Improves the effectiveness of QA team
Reduces need for manual intervention
Improves the quality of the system
Very limited number of test cases needed
www.edureka.co
Deploy the initial builds
Each build represents a feature of
application
Designing test cases
Series of test cases designed to expose
errors after the release of a build
Sizing a smoke test suite
To be efficient smoke test suite should contain an
easily manageable number of tests
Automate execution of tests
Automation can prove to be efficient & worthy
in smoke test suits
Test execution & reporting
Execute smoke test cases that you have
created and act according to the results
www.edureka.co
www.edureka.co
How to Conduct Smoke Testing?
ReleaseBuild
Test
Suite
Smoke Test
Cases
Access
Home Page
Access
Menu Links
Add to Cart
Checkout &
Place Order
Passed
Failed
Move to Next
Type of Testing
Reject Release
Build
Example
www.edureka.co
www.edureka.co
How is Smoke Testing Different
from Sanity Testing?
Things to consider when performing smoke tests
➢Smoke test during at early stages of project
➢Record all your smoke tests
➢Test cases should be short & precise
➢Automate whenever possible
➢Maintain a test case repository
➢Don’t’ just stop with smoke testing
➢Use smoke tests to test basic functionalities
Popular API Testing Tools
✓ Selenium
✓ PhantomJS
www.edureka.co
www.edureka.cowww.edureka.co
Selenium
✓ Cross platform support
✓ Multiple languages
✓ Easy integration with CI tool
✓ Large community support
× Slow performance
× Only few VMs
× IDE recording is less effective
PhantomJS
✓ Low resources needed
✓ Easy to use
✓ Multiple tests
✓ Supports screen capture
× Requires heavy set up
× Lack of ecosystem
× Not good for web app testers
www.edureka.co
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
www.edureka.co
www.edureka.co

What is Smoke Testing? | Smoke Testing Example | Edureka