SlideShare a Scribd company logo
1 of 18
SOFTWARE TESTING
SOFTWARE TESTING Techniques
Made by:
Ujwal P Gussain
TE CMPNA
Roll No:39
Under the Guidance
Of:
Ms Prachi Janrao
Overview
 Abstract
 Problem Definition
◦ Need for Software Testing?
◦ Infamous Error Case studies
◦ Software Bug and its Effects
 Literature Survey
 Black-Box Testing
 White-Box Testing
 Static Testing & Dynamic Testing
 Applying the testing methods
 Design for Implementation
 Conclusions
ABSTRACT
 Here, main testing methods and
techniques are shortly described
 General Classification is outlined: two
Testing methods-“Black-Box” and
“White-Box” Testing & their frequently
used techniques
PROBLEM DEFINITION
Need for Testing software:
• Software is everywhere. However it is
written by people- hence it’s not perfect.
Infamous software errors:
• 1.Disney’s Lion king:- failed as disney didn’t
test the game on different PC platforms.
• II.Intel Pentium Floating Point Division Bug:-
(4135835/3145727)*3145727-4135835
• The answer is zero, but old Intel CPU
didn’t give the right answer.
Problem Definition Contd.. (Software Bug and its
Effects)
 Any software failure
is called as a Bug
 Other terms used:
i. Defect
ii. Variance
iii. Fault
iv. Failure
v. Problem
vi. Inconsistency
vii. Error
viii. Feature
ix. Incident
x. Anomaly
Cost of Bugs
The Costs are logarithmic-
they increase by tenfold as
the time increases
Literature Survey
Goal of software tester[1]
“The goal if the software tester is to find bugs,
find them early, and make sure they are fixed as
soon as possible”
Software Testing Fundamentals[1]
 Testing the Specification.
Testing the Software with Blinders On
Examining the Code.
Testing the Software with X-Ray Glasses.
BLACK-BOX TESTING[5]
 Here tester knows only
what the software is
supposed to do(he
can’t look in the box to
see how it operates
 No access to software
code
 He a input, he
gets a certain output
but doesn’t how or
why it happens, just
that it does.
WHITE-BOX TESTING[5]
 Also called as clear
box testing
 Tester can see
inside the box ie.,
has access to
program’s code
STATIC & DYNAMIC TESTING[1]
• Refers testing to
something which is not
running-examining and
reviewing it.
STATIC
TESTING:-
• testing the software by
running it(normally what
we think of as testing).
DYNAMIC
TESTING:-
TESTING THE
SPECIFICATION[1]
 Also called Static Black-Box Testing.
 How is it Done??
Stati
c
BlackBo
x
• Pretend to be the Customer.
• Research Existing Standards & Guidelines.
• Review & Test Similar Software.
High level
Review
• Specification Attribute Checklist.
• Specification Terminology Checklist
Low level
Review
Attribute CheckList
1. Complete 2. Accurate 3. Precise, Unambigous, Clear
4. Consistent 5. Relevant 6. Feasible
Terminology CheckList
1. Always, Every, All, None, Never
2. Certainly, Therefore, Clearly
3. Some, Sometimes, Often, Usually,Etc., And So Forth, And So On,
Such As
4. 5.If…Then…(missing Else)
TESTING THE SOFTWARE
WITH BLINDERS ON[1]
 Also called as Dynamic Black-Box
Testing.
 How is it Done??
Dynami
c
BlackBo
x
 Data Testing:
1) Boundary Conditions:
2) Sub-Boundary Conditions:- (refers to internal boundaries)
3) Default, Empty, Blank, Zero or None.
4) Invalid, Incorrect, Wrong, Garbage.
 State Testing:
 Testing s/w logic flow(by creating state transition map).
int data[]=new int[5];
for(int i=1;i<5;i++)
data[i]=-1;
data[1]=-1
data[2]=-1
data[3]=-1 what about
data[0]???
data[4]=-1
EXAMINING THE CODE[1]
 Also called Static White Box testing
 How is it Done??
 What is to be done??
1. Formal
Reviews.
2. Peer Reviews.
3. WalkThroughs
4. Inspections.Coding Standards and Guidelines
Generic Code Review Checklist
Stati
c
Whitebox
TESTING THE SOFTWARE
WITH XRAY GLASSES[1]
 Also called as Dynamic White-Box
Testing
 How is it Done??
Code Coverage
◦ Statement Coverage
◦ Branch Coverage
◦ Condition Coverage
If Date=01-01-2000
Lines 1,2,3,4,5,6,7
If Date<>01-01-2000
Lines 1,2,5,6,7
Code Coverage
1. PRINT “Hello World”
2. IF Date$ = “01-01-2000”
THEN
3. PRINT “Happy New Year”
4. END IF
5. PRINT “The date is: “; Date$
6. PRINT “The time is: “; Time$
7. END
◦ Consider the following code
1. PRINT “Hello World”
2. IF Date$ = “01-01-2000” AND Time$ = “00:00:00”
THEN
3. PRINT “Happy New Year”
4. END IF
5. PRINT “The date is: “; Date$
6. PRINT “The time is: “; Time$
7. END
Date=01-01-0000
& Time=11:11:11
• Lines 1,2,5,6,7
Date=01-01-0000
& Time=00:00:00
:-
• Lines 1,2,5,6,7
Date=01-01-2000
& Time=11:11:11 :-
• Lines 1,2,5,6,7
Date=01-01-2000
& Time=00:00:00
• Lines
1,2,3,4,5,6,7
PRINT “Hello World”
Date=
01/01/2000
Time=
00:00:00
PRINT ”Happy New Year”
PRINT Date
PRINT Time
YES
YES
NO
NO
1
2
2
3
4
5
6
7
Condition 1 Condition 2
DFD Diagram
Check if
input is
proper
User
Sort the
input list
Enter a List of numbers
to be sorted
Return sorted list
Ask for re input
(improper)
Proper input
CONCLUSIONS
 Software testing is a component of software
quality control (SQC).
 If customers are dissatisfied with a product,
they will never recommend that product, so
product’s cost and its popularity at the market
will decrease.
 Eventual bugs and defects reduce
application functionality, do not look
vocational, and disturb company’s reputation.
 Hence, radically Testing is very important to
conduct.
 At that way, the defects can be discovered
and repaired.
REFERENCES
1. Ron Patton “Software Testing”
2. http://www.his.sunderland.ac.uk/~cs0mel/comm83wk5
.doc, February 08, 2009.
3. Stacey, D. A., “Software Testing Techniques”
4. Guide to the Software Engineering Body of
Knowledge, Swebok – A project of the IEEE Computer
Society Professional Practices Committee, 2004.
5. “Software Engineering: A Practitioner’s Approach, 6/e;
Chapter 14: Software Testing Techniques”,
R.S.Pressman & Associates, Inc., 2005.
6. Myers, Glenford J., IBM Systems Research Institute,
Lecturer in Computer Science, Polytechnic Institute of
New York, “The Art of Software Testing”, Copyright
1979. by John Wiley & Sons, Inc.
Thank you

More Related Content

Similar to Software testing(Refer Ron Patton)

Testing- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solutionTesting- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solutionMazenetsolution
 
Computer Software Testing Basics introduced.ppt
Computer Software Testing Basics introduced.pptComputer Software Testing Basics introduced.ppt
Computer Software Testing Basics introduced.pptTrevorChinguwo
 
{10.0} Test Driven Development.pptx
{10.0} Test Driven Development.pptx{10.0} Test Driven Development.pptx
{10.0} Test Driven Development.pptxAmalEldhose2
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfFarjanaParvin5
 
Adopting tdd in the workplace
Adopting tdd in the workplaceAdopting tdd in the workplace
Adopting tdd in the workplaceDonny Wals
 
Adopting tdd in the workplace
Adopting tdd in the workplaceAdopting tdd in the workplace
Adopting tdd in the workplaceDonny Wals
 
A Brief Introduction to Test-Driven Development
A Brief Introduction to Test-Driven DevelopmentA Brief Introduction to Test-Driven Development
A Brief Introduction to Test-Driven DevelopmentShawn Jones
 
Systematic Unit Testing
Systematic Unit TestingSystematic Unit Testing
Systematic Unit Testingscotchfield
 
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...TEST Huddle
 
Software testing
Software testingSoftware testing
Software testingnidhip216
 
Test Driven Development on Android (Kotlin Kenya)
Test Driven Development on Android (Kotlin Kenya)Test Driven Development on Android (Kotlin Kenya)
Test Driven Development on Android (Kotlin Kenya)Danny Preussler
 

Similar to Software testing(Refer Ron Patton) (20)

Testing- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solutionTesting- Fundamentals of Testing-Mazenet solution
Testing- Fundamentals of Testing-Mazenet solution
 
Computer Software Testing Basics introduced.ppt
Computer Software Testing Basics introduced.pptComputer Software Testing Basics introduced.ppt
Computer Software Testing Basics introduced.ppt
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
{10.0} Test Driven Development.pptx
{10.0} Test Driven Development.pptx{10.0} Test Driven Development.pptx
{10.0} Test Driven Development.pptx
 
The ScrumButt Test
The ScrumButt TestThe ScrumButt Test
The ScrumButt Test
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdf
 
Dallas Techologies
Dallas TechologiesDallas Techologies
Dallas Techologies
 
Adopting tdd in the workplace
Adopting tdd in the workplaceAdopting tdd in the workplace
Adopting tdd in the workplace
 
Adopting tdd in the workplace
Adopting tdd in the workplaceAdopting tdd in the workplace
Adopting tdd in the workplace
 
A Brief Introduction to Test-Driven Development
A Brief Introduction to Test-Driven DevelopmentA Brief Introduction to Test-Driven Development
A Brief Introduction to Test-Driven Development
 
Systematic Unit Testing
Systematic Unit TestingSystematic Unit Testing
Systematic Unit Testing
 
L software testing
L   software testingL   software testing
L software testing
 
ES3-2020-05 Testing
ES3-2020-05 TestingES3-2020-05 Testing
ES3-2020-05 Testing
 
Root Cause Analysis تحليل أسباب جذور المشكلة
Root Cause Analysis تحليل أسباب جذور المشكلةRoot Cause Analysis تحليل أسباب جذور المشكلة
Root Cause Analysis تحليل أسباب جذور المشكلة
 
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
Testing As A Bottleneck - How Testing Slows Down Modern Development Processes...
 
Software testing
Software testingSoftware testing
Software testing
 
BSOD Presentation
BSOD PresentationBSOD Presentation
BSOD Presentation
 
Test Driven Development on Android (Kotlin Kenya)
Test Driven Development on Android (Kotlin Kenya)Test Driven Development on Android (Kotlin Kenya)
Test Driven Development on Android (Kotlin Kenya)
 

Recently uploaded

Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...
Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...
Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...anamikaraghav4
 
Call Girls Service Bantala - Call 8250192130 Rs-3500 with A/C Room Cash on De...
Call Girls Service Bantala - Call 8250192130 Rs-3500 with A/C Room Cash on De...Call Girls Service Bantala - Call 8250192130 Rs-3500 with A/C Room Cash on De...
Call Girls Service Bantala - Call 8250192130 Rs-3500 with A/C Room Cash on De...anamikaraghav4
 
(KRITI) Pimpri Chinchwad Call Girls Just Call 7001035870 [ Cash on Delivery ]...
(KRITI) Pimpri Chinchwad Call Girls Just Call 7001035870 [ Cash on Delivery ]...(KRITI) Pimpri Chinchwad Call Girls Just Call 7001035870 [ Cash on Delivery ]...
(KRITI) Pimpri Chinchwad Call Girls Just Call 7001035870 [ Cash on Delivery ]...ranjana rawat
 
Kolkata Call Girl Bara Bazar 👉 8250192130 ❣️💯 Available With Room 24×7
Kolkata Call Girl Bara Bazar 👉 8250192130 ❣️💯 Available With Room 24×7Kolkata Call Girl Bara Bazar 👉 8250192130 ❣️💯 Available With Room 24×7
Kolkata Call Girl Bara Bazar 👉 8250192130 ❣️💯 Available With Room 24×7Riya Pathan
 
VIP Call Girls Sonagachi - 8250192130 Escorts Service 50% Off with Cash ON De...
VIP Call Girls Sonagachi - 8250192130 Escorts Service 50% Off with Cash ON De...VIP Call Girls Sonagachi - 8250192130 Escorts Service 50% Off with Cash ON De...
VIP Call Girls Sonagachi - 8250192130 Escorts Service 50% Off with Cash ON De...anamikaraghav4
 
Housewife Call Girls Sonagachi - 8250192130 Booking and charges genuine rate ...
Housewife Call Girls Sonagachi - 8250192130 Booking and charges genuine rate ...Housewife Call Girls Sonagachi - 8250192130 Booking and charges genuine rate ...
Housewife Call Girls Sonagachi - 8250192130 Booking and charges genuine rate ...Riya Pathan
 
Call Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
Call Girl Nashik Saloni 7001305949 Independent Escort Service NashikCall Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
Call Girl Nashik Saloni 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
VIP Call Girls Asansol Ananya 8250192130 Independent Escort Service Asansol
VIP Call Girls Asansol Ananya 8250192130 Independent Escort Service AsansolVIP Call Girls Asansol Ananya 8250192130 Independent Escort Service Asansol
VIP Call Girls Asansol Ananya 8250192130 Independent Escort Service AsansolRiya Pathan
 
Low Rate Call Girls Gulbarga Anika 8250192130 Independent Escort Service Gulb...
Low Rate Call Girls Gulbarga Anika 8250192130 Independent Escort Service Gulb...Low Rate Call Girls Gulbarga Anika 8250192130 Independent Escort Service Gulb...
Low Rate Call Girls Gulbarga Anika 8250192130 Independent Escort Service Gulb...Riya Pathan
 
VIP Call Girls Nagpur Megha Call 7001035870 Meet With Nagpur Escorts
VIP Call Girls Nagpur Megha Call 7001035870 Meet With Nagpur EscortsVIP Call Girls Nagpur Megha Call 7001035870 Meet With Nagpur Escorts
VIP Call Girls Nagpur Megha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Private Call Girls Durgapur - 8250192130 Escorts Service with Real Photos and...
Private Call Girls Durgapur - 8250192130 Escorts Service with Real Photos and...Private Call Girls Durgapur - 8250192130 Escorts Service with Real Photos and...
Private Call Girls Durgapur - 8250192130 Escorts Service with Real Photos and...Riya Pathan
 
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...noor ahmed
 
Call Girls in Barasat | 7001035870 At Low Cost Cash Payment Booking
Call Girls in Barasat | 7001035870 At Low Cost Cash Payment BookingCall Girls in Barasat | 7001035870 At Low Cost Cash Payment Booking
Call Girls in Barasat | 7001035870 At Low Cost Cash Payment Bookingnoor ahmed
 
Call Girls In Goa 9316020077 Goa Call Girl By Indian Call Girls Goa
Call Girls In Goa  9316020077 Goa  Call Girl By Indian Call Girls GoaCall Girls In Goa  9316020077 Goa  Call Girl By Indian Call Girls Goa
Call Girls In Goa 9316020077 Goa Call Girl By Indian Call Girls Goasexy call girls service in goa
 
(DIVYA) Dhanori Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(DIVYA) Dhanori Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(DIVYA) Dhanori Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(DIVYA) Dhanori Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Beautiful 😋 Call girls in Lahore 03210033448
Beautiful 😋 Call girls in Lahore 03210033448Beautiful 😋 Call girls in Lahore 03210033448
Beautiful 😋 Call girls in Lahore 03210033448ont65320
 
Air-Hostess Call Girls Shobhabazar | 8250192130 At Low Cost Cash Payment Booking
Air-Hostess Call Girls Shobhabazar | 8250192130 At Low Cost Cash Payment BookingAir-Hostess Call Girls Shobhabazar | 8250192130 At Low Cost Cash Payment Booking
Air-Hostess Call Girls Shobhabazar | 8250192130 At Low Cost Cash Payment BookingRiya Pathan
 
Call Girl Nashik Amaira 7001305949 Independent Escort Service Nashik
Call Girl Nashik Amaira 7001305949 Independent Escort Service NashikCall Girl Nashik Amaira 7001305949 Independent Escort Service Nashik
Call Girl Nashik Amaira 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Independent Joka Escorts ✔ 8250192130 ✔ Full Night With Room Online Booking 2...
Independent Joka Escorts ✔ 8250192130 ✔ Full Night With Room Online Booking 2...Independent Joka Escorts ✔ 8250192130 ✔ Full Night With Room Online Booking 2...
Independent Joka Escorts ✔ 8250192130 ✔ Full Night With Room Online Booking 2...noor ahmed
 
Low Rate Call Girls Ajmer Anika 8250192130 Independent Escort Service Ajmer
Low Rate Call Girls Ajmer Anika 8250192130 Independent Escort Service AjmerLow Rate Call Girls Ajmer Anika 8250192130 Independent Escort Service Ajmer
Low Rate Call Girls Ajmer Anika 8250192130 Independent Escort Service AjmerRiya Pathan
 

Recently uploaded (20)

Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...
Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...
Russian Call Girl South End Park - Call 8250192130 Rs-3500 with A/C Room Cash...
 
Call Girls Service Bantala - Call 8250192130 Rs-3500 with A/C Room Cash on De...
Call Girls Service Bantala - Call 8250192130 Rs-3500 with A/C Room Cash on De...Call Girls Service Bantala - Call 8250192130 Rs-3500 with A/C Room Cash on De...
Call Girls Service Bantala - Call 8250192130 Rs-3500 with A/C Room Cash on De...
 
(KRITI) Pimpri Chinchwad Call Girls Just Call 7001035870 [ Cash on Delivery ]...
(KRITI) Pimpri Chinchwad Call Girls Just Call 7001035870 [ Cash on Delivery ]...(KRITI) Pimpri Chinchwad Call Girls Just Call 7001035870 [ Cash on Delivery ]...
(KRITI) Pimpri Chinchwad Call Girls Just Call 7001035870 [ Cash on Delivery ]...
 
Kolkata Call Girl Bara Bazar 👉 8250192130 ❣️💯 Available With Room 24×7
Kolkata Call Girl Bara Bazar 👉 8250192130 ❣️💯 Available With Room 24×7Kolkata Call Girl Bara Bazar 👉 8250192130 ❣️💯 Available With Room 24×7
Kolkata Call Girl Bara Bazar 👉 8250192130 ❣️💯 Available With Room 24×7
 
VIP Call Girls Sonagachi - 8250192130 Escorts Service 50% Off with Cash ON De...
VIP Call Girls Sonagachi - 8250192130 Escorts Service 50% Off with Cash ON De...VIP Call Girls Sonagachi - 8250192130 Escorts Service 50% Off with Cash ON De...
VIP Call Girls Sonagachi - 8250192130 Escorts Service 50% Off with Cash ON De...
 
Housewife Call Girls Sonagachi - 8250192130 Booking and charges genuine rate ...
Housewife Call Girls Sonagachi - 8250192130 Booking and charges genuine rate ...Housewife Call Girls Sonagachi - 8250192130 Booking and charges genuine rate ...
Housewife Call Girls Sonagachi - 8250192130 Booking and charges genuine rate ...
 
Call Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
Call Girl Nashik Saloni 7001305949 Independent Escort Service NashikCall Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
Call Girl Nashik Saloni 7001305949 Independent Escort Service Nashik
 
VIP Call Girls Asansol Ananya 8250192130 Independent Escort Service Asansol
VIP Call Girls Asansol Ananya 8250192130 Independent Escort Service AsansolVIP Call Girls Asansol Ananya 8250192130 Independent Escort Service Asansol
VIP Call Girls Asansol Ananya 8250192130 Independent Escort Service Asansol
 
Low Rate Call Girls Gulbarga Anika 8250192130 Independent Escort Service Gulb...
Low Rate Call Girls Gulbarga Anika 8250192130 Independent Escort Service Gulb...Low Rate Call Girls Gulbarga Anika 8250192130 Independent Escort Service Gulb...
Low Rate Call Girls Gulbarga Anika 8250192130 Independent Escort Service Gulb...
 
VIP Call Girls Nagpur Megha Call 7001035870 Meet With Nagpur Escorts
VIP Call Girls Nagpur Megha Call 7001035870 Meet With Nagpur EscortsVIP Call Girls Nagpur Megha Call 7001035870 Meet With Nagpur Escorts
VIP Call Girls Nagpur Megha Call 7001035870 Meet With Nagpur Escorts
 
Private Call Girls Durgapur - 8250192130 Escorts Service with Real Photos and...
Private Call Girls Durgapur - 8250192130 Escorts Service with Real Photos and...Private Call Girls Durgapur - 8250192130 Escorts Service with Real Photos and...
Private Call Girls Durgapur - 8250192130 Escorts Service with Real Photos and...
 
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
↑Top Model (Kolkata) Call Girls Sonagachi ⟟ 8250192130 ⟟ High Class Call Girl...
 
Call Girls in Barasat | 7001035870 At Low Cost Cash Payment Booking
Call Girls in Barasat | 7001035870 At Low Cost Cash Payment BookingCall Girls in Barasat | 7001035870 At Low Cost Cash Payment Booking
Call Girls in Barasat | 7001035870 At Low Cost Cash Payment Booking
 
Call Girls In Goa 9316020077 Goa Call Girl By Indian Call Girls Goa
Call Girls In Goa  9316020077 Goa  Call Girl By Indian Call Girls GoaCall Girls In Goa  9316020077 Goa  Call Girl By Indian Call Girls Goa
Call Girls In Goa 9316020077 Goa Call Girl By Indian Call Girls Goa
 
(DIVYA) Dhanori Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(DIVYA) Dhanori Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(DIVYA) Dhanori Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(DIVYA) Dhanori Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Beautiful 😋 Call girls in Lahore 03210033448
Beautiful 😋 Call girls in Lahore 03210033448Beautiful 😋 Call girls in Lahore 03210033448
Beautiful 😋 Call girls in Lahore 03210033448
 
Air-Hostess Call Girls Shobhabazar | 8250192130 At Low Cost Cash Payment Booking
Air-Hostess Call Girls Shobhabazar | 8250192130 At Low Cost Cash Payment BookingAir-Hostess Call Girls Shobhabazar | 8250192130 At Low Cost Cash Payment Booking
Air-Hostess Call Girls Shobhabazar | 8250192130 At Low Cost Cash Payment Booking
 
Call Girl Nashik Amaira 7001305949 Independent Escort Service Nashik
Call Girl Nashik Amaira 7001305949 Independent Escort Service NashikCall Girl Nashik Amaira 7001305949 Independent Escort Service Nashik
Call Girl Nashik Amaira 7001305949 Independent Escort Service Nashik
 
Independent Joka Escorts ✔ 8250192130 ✔ Full Night With Room Online Booking 2...
Independent Joka Escorts ✔ 8250192130 ✔ Full Night With Room Online Booking 2...Independent Joka Escorts ✔ 8250192130 ✔ Full Night With Room Online Booking 2...
Independent Joka Escorts ✔ 8250192130 ✔ Full Night With Room Online Booking 2...
 
Low Rate Call Girls Ajmer Anika 8250192130 Independent Escort Service Ajmer
Low Rate Call Girls Ajmer Anika 8250192130 Independent Escort Service AjmerLow Rate Call Girls Ajmer Anika 8250192130 Independent Escort Service Ajmer
Low Rate Call Girls Ajmer Anika 8250192130 Independent Escort Service Ajmer
 

Software testing(Refer Ron Patton)

  • 1. SOFTWARE TESTING SOFTWARE TESTING Techniques Made by: Ujwal P Gussain TE CMPNA Roll No:39 Under the Guidance Of: Ms Prachi Janrao
  • 2. Overview  Abstract  Problem Definition ◦ Need for Software Testing? ◦ Infamous Error Case studies ◦ Software Bug and its Effects  Literature Survey  Black-Box Testing  White-Box Testing  Static Testing & Dynamic Testing  Applying the testing methods  Design for Implementation  Conclusions
  • 3. ABSTRACT  Here, main testing methods and techniques are shortly described  General Classification is outlined: two Testing methods-“Black-Box” and “White-Box” Testing & their frequently used techniques
  • 4. PROBLEM DEFINITION Need for Testing software: • Software is everywhere. However it is written by people- hence it’s not perfect. Infamous software errors: • 1.Disney’s Lion king:- failed as disney didn’t test the game on different PC platforms. • II.Intel Pentium Floating Point Division Bug:- (4135835/3145727)*3145727-4135835 • The answer is zero, but old Intel CPU didn’t give the right answer.
  • 5. Problem Definition Contd.. (Software Bug and its Effects)  Any software failure is called as a Bug  Other terms used: i. Defect ii. Variance iii. Fault iv. Failure v. Problem vi. Inconsistency vii. Error viii. Feature ix. Incident x. Anomaly Cost of Bugs The Costs are logarithmic- they increase by tenfold as the time increases
  • 6. Literature Survey Goal of software tester[1] “The goal if the software tester is to find bugs, find them early, and make sure they are fixed as soon as possible” Software Testing Fundamentals[1]  Testing the Specification. Testing the Software with Blinders On Examining the Code. Testing the Software with X-Ray Glasses.
  • 7. BLACK-BOX TESTING[5]  Here tester knows only what the software is supposed to do(he can’t look in the box to see how it operates  No access to software code  He a input, he gets a certain output but doesn’t how or why it happens, just that it does.
  • 8. WHITE-BOX TESTING[5]  Also called as clear box testing  Tester can see inside the box ie., has access to program’s code
  • 9. STATIC & DYNAMIC TESTING[1] • Refers testing to something which is not running-examining and reviewing it. STATIC TESTING:- • testing the software by running it(normally what we think of as testing). DYNAMIC TESTING:-
  • 10. TESTING THE SPECIFICATION[1]  Also called Static Black-Box Testing.  How is it Done?? Stati c BlackBo x • Pretend to be the Customer. • Research Existing Standards & Guidelines. • Review & Test Similar Software. High level Review • Specification Attribute Checklist. • Specification Terminology Checklist Low level Review Attribute CheckList 1. Complete 2. Accurate 3. Precise, Unambigous, Clear 4. Consistent 5. Relevant 6. Feasible Terminology CheckList 1. Always, Every, All, None, Never 2. Certainly, Therefore, Clearly 3. Some, Sometimes, Often, Usually,Etc., And So Forth, And So On, Such As 4. 5.If…Then…(missing Else)
  • 11. TESTING THE SOFTWARE WITH BLINDERS ON[1]  Also called as Dynamic Black-Box Testing.  How is it Done?? Dynami c BlackBo x  Data Testing: 1) Boundary Conditions: 2) Sub-Boundary Conditions:- (refers to internal boundaries) 3) Default, Empty, Blank, Zero or None. 4) Invalid, Incorrect, Wrong, Garbage.  State Testing:  Testing s/w logic flow(by creating state transition map). int data[]=new int[5]; for(int i=1;i<5;i++) data[i]=-1; data[1]=-1 data[2]=-1 data[3]=-1 what about data[0]??? data[4]=-1
  • 12. EXAMINING THE CODE[1]  Also called Static White Box testing  How is it Done??  What is to be done?? 1. Formal Reviews. 2. Peer Reviews. 3. WalkThroughs 4. Inspections.Coding Standards and Guidelines Generic Code Review Checklist Stati c Whitebox
  • 13. TESTING THE SOFTWARE WITH XRAY GLASSES[1]  Also called as Dynamic White-Box Testing  How is it Done?? Code Coverage
  • 14. ◦ Statement Coverage ◦ Branch Coverage ◦ Condition Coverage If Date=01-01-2000 Lines 1,2,3,4,5,6,7 If Date<>01-01-2000 Lines 1,2,5,6,7 Code Coverage 1. PRINT “Hello World” 2. IF Date$ = “01-01-2000” THEN 3. PRINT “Happy New Year” 4. END IF 5. PRINT “The date is: “; Date$ 6. PRINT “The time is: “; Time$ 7. END ◦ Consider the following code 1. PRINT “Hello World” 2. IF Date$ = “01-01-2000” AND Time$ = “00:00:00” THEN 3. PRINT “Happy New Year” 4. END IF 5. PRINT “The date is: “; Date$ 6. PRINT “The time is: “; Time$ 7. END Date=01-01-0000 & Time=11:11:11 • Lines 1,2,5,6,7 Date=01-01-0000 & Time=00:00:00 :- • Lines 1,2,5,6,7 Date=01-01-2000 & Time=11:11:11 :- • Lines 1,2,5,6,7 Date=01-01-2000 & Time=00:00:00 • Lines 1,2,3,4,5,6,7 PRINT “Hello World” Date= 01/01/2000 Time= 00:00:00 PRINT ”Happy New Year” PRINT Date PRINT Time YES YES NO NO 1 2 2 3 4 5 6 7 Condition 1 Condition 2
  • 15. DFD Diagram Check if input is proper User Sort the input list Enter a List of numbers to be sorted Return sorted list Ask for re input (improper) Proper input
  • 16. CONCLUSIONS  Software testing is a component of software quality control (SQC).  If customers are dissatisfied with a product, they will never recommend that product, so product’s cost and its popularity at the market will decrease.  Eventual bugs and defects reduce application functionality, do not look vocational, and disturb company’s reputation.  Hence, radically Testing is very important to conduct.  At that way, the defects can be discovered and repaired.
  • 17. REFERENCES 1. Ron Patton “Software Testing” 2. http://www.his.sunderland.ac.uk/~cs0mel/comm83wk5 .doc, February 08, 2009. 3. Stacey, D. A., “Software Testing Techniques” 4. Guide to the Software Engineering Body of Knowledge, Swebok – A project of the IEEE Computer Society Professional Practices Committee, 2004. 5. “Software Engineering: A Practitioner’s Approach, 6/e; Chapter 14: Software Testing Techniques”, R.S.Pressman & Associates, Inc., 2005. 6. Myers, Glenford J., IBM Systems Research Institute, Lecturer in Computer Science, Polytechnic Institute of New York, “The Art of Software Testing”, Copyright 1979. by John Wiley & Sons, Inc.