SlideShare une entreprise Scribd logo
1  sur  39
Software Testing Part I
Thinking in Software Testing
Saroj Sangphongamphai, August 2015
ss.saroj@gmail.com
Sincerely grateful to all
teachers, professors, books,
websites, and others.
Think Big, Set the High Goal
Software development life cycle

Analysis and design

Planing

Implementation

Testing

Deployment
What is software testing?
1.Testing is the process of demonstrating that errors
are not present.
2.The purpose of testing is to show that a program
performs its intended functions correctly.
3.Testing is the process of establishing confidence
that a program does what it is supposed to do.
What is software testing?
Testing is the process of executing a
program with the intent of finding
errors.
Terms for software failures
Defect
Fault
Problem
Error
Incident
Anomaly
Variance
Failure
Inconsistency
Feature
Bug
Etc.
Software bug: a formal definition
(1 of 5)
The software does not do something that
the product specification says it should
do.
Software bug: a formal definition
(2 of 5)
The software does something that the
product specification says it should not
do.
Software bug: a formal definition
(3 of 5)
The software does something that the
product specification does not mention.
Software bug: a formal definition
(4 of 5)
The software does not do something that
the product specification does not
mention but should.
Software bug: a formal definition
(5 of 5)
The software is difficult to understand,
hard to use, slow, or in the software
tester’s eyes will be viewed by the end
user as just plain not right.
Software bug: a formal definition
1.The software does not do something that the product specification says
it should do.
2.The software does something that the product specification says it
should not do.
3.The software does something that the product specification does not
mention.
4.The software does not do something that the product specification does
not mention but should.
5.The software is difficult to understand, hard to use, slow, or in the
software tester’s eyes will be viewed by the end user as just plain not
right.
Insights from a Venn Diagram
Insights from a Venn Diagram
Why do bug occurs?
The cost of bugs
 To find bugs
 To find them as early as possible
 And to make sure they get fixed
The goal of a software tester
The challenge of software testing
Exhaustive testing is impractical.
Exhaustive testing is impractical
A simple function adds two 32 bit numbers and returns a result.
Assumption: we can execute 1,000 test cases per second
How long will it take to exhaustively test this function?
(Signed range 32 bits integer is -2,147,483,648 to 2,147,483,647 and unsigned: 0 to 4,294,967,295)
Exhaustive testing is impractical
A simple function adds two 32 bit numbers and returns a result.
Assumption: we can execute 1,000 test cases per second
How long will it take to exhaustively test this function?
Answer: 585 million years
2 (32+32)
/1000/60/60/24/365 = 584,942,417 years.
(Signed range 32 bits integer is -2,147,483,648 to 2,147,483,647 and unsigned: 0 to 4,294,967,295)
Optimal amount of testing
The psychology of software testing
A successful test case is one that
detects an undiscovered error.
The psychology of software testing
The psychology of software testing
Testing can only show the presence of
errors, not their absence.
The psychology of software testing
A necessary part of a test case is a
definition of the expected output or
result.
The difference between testing and
debugging
Testing = Find Bug
Debugging = Remove Bug
Quality is free
Early testing, more prevention than
detection
Quality is not equal to test
If it is not built right in the first place,
then it is never going to be right.
Quality is not equal to test
Quality is achieved by putting development and testing into a blender
and mixing them until one is indistinguishable from the other.
Primary metric
Cycle time
Reference
Question & Answer
Next
Software Testing Part II
Testing Techniques

Contenu connexe

Tendances

Treating Code Quality as a First Class Entity (icsme15) [doc. symposium]
Treating Code Quality as a First Class Entity (icsme15) [doc. symposium]Treating Code Quality as a First Class Entity (icsme15) [doc. symposium]
Treating Code Quality as a First Class Entity (icsme15) [doc. symposium]Yuriy Tymchuk
 
Pertanyaan dan jawaban (graham et.al 2011) part 2
Pertanyaan dan jawaban (graham et.al 2011) part 2Pertanyaan dan jawaban (graham et.al 2011) part 2
Pertanyaan dan jawaban (graham et.al 2011) part 2ikhwana luthfi
 
Pertanyaan dan jawaban (graham et.al 2011)
Pertanyaan dan jawaban (graham et.al 2011)Pertanyaan dan jawaban (graham et.al 2011)
Pertanyaan dan jawaban (graham et.al 2011)nur fitrianti
 
[After Going Live Studio] Software archaeology
[After Going Live Studio] Software archaeology[After Going Live Studio] Software archaeology
[After Going Live Studio] Software archaeologyGlobant
 
Pertanyaan dan jawaban (graham et.al 2011) part 3
Pertanyaan dan jawaban (graham et.al 2011) part 3Pertanyaan dan jawaban (graham et.al 2011) part 3
Pertanyaan dan jawaban (graham et.al 2011) part 3ikhwana luthfi
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven DevelopmentJosh Candish
 
Let's review it: What designers can learn from (code) review
Let's review it: What designers can learn from (code) reviewLet's review it: What designers can learn from (code) review
Let's review it: What designers can learn from (code) reviewIda Aalen
 
ISTQB Certified Tester Exam Question Papers and Answers - 11
ISTQB Certified Tester Exam Question Papers and Answers - 11ISTQB Certified Tester Exam Question Papers and Answers - 11
ISTQB Certified Tester Exam Question Papers and Answers - 11BDDazza
 
Software engineering 22 error detection and debugging
Software engineering 22 error detection and debuggingSoftware engineering 22 error detection and debugging
Software engineering 22 error detection and debuggingVaibhav Khanna
 
Sigma Open Tech Week: Bitter Truth About Software Security
Sigma Open Tech Week: Bitter Truth About Software SecuritySigma Open Tech Week: Bitter Truth About Software Security
Sigma Open Tech Week: Bitter Truth About Software SecurityVlad Styran
 
CASA: Context-Aware Scalable Authentication, at SOUPS 2013
CASA: Context-Aware Scalable Authentication, at SOUPS 2013CASA: Context-Aware Scalable Authentication, at SOUPS 2013
CASA: Context-Aware Scalable Authentication, at SOUPS 2013Jason Hong
 
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...Publish or Perish: Questioning the Impact of Our Research on the Software Dev...
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...Margaret-Anne Storey
 
Improve Security through Continuous Testing
Improve Security through Continuous TestingImprove Security through Continuous Testing
Improve Security through Continuous TestingTechWell
 
Top 3 Benefits of Framework Based Assessments
Top 3 Benefits of Framework Based AssessmentsTop 3 Benefits of Framework Based Assessments
Top 3 Benefits of Framework Based AssessmentsLexi Reihanian
 

Tendances (20)

TDD: Facts and Fallacies
TDD: Facts and FallaciesTDD: Facts and Fallacies
TDD: Facts and Fallacies
 
Treating Code Quality as a First Class Entity (icsme15) [doc. symposium]
Treating Code Quality as a First Class Entity (icsme15) [doc. symposium]Treating Code Quality as a First Class Entity (icsme15) [doc. symposium]
Treating Code Quality as a First Class Entity (icsme15) [doc. symposium]
 
9. risk-management
9. risk-management9. risk-management
9. risk-management
 
Pertanyaan dan jawaban (graham et.al 2011) part 2
Pertanyaan dan jawaban (graham et.al 2011) part 2Pertanyaan dan jawaban (graham et.al 2011) part 2
Pertanyaan dan jawaban (graham et.al 2011) part 2
 
Pertanyaan dan jawaban (graham et.al 2011)
Pertanyaan dan jawaban (graham et.al 2011)Pertanyaan dan jawaban (graham et.al 2011)
Pertanyaan dan jawaban (graham et.al 2011)
 
Code review at large scale
Code review at large scaleCode review at large scale
Code review at large scale
 
[After Going Live Studio] Software archaeology
[After Going Live Studio] Software archaeology[After Going Live Studio] Software archaeology
[After Going Live Studio] Software archaeology
 
Pertanyaan dan jawaban (graham et.al 2011) part 3
Pertanyaan dan jawaban (graham et.al 2011) part 3Pertanyaan dan jawaban (graham et.al 2011) part 3
Pertanyaan dan jawaban (graham et.al 2011) part 3
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven Development
 
Let's review it: What designers can learn from (code) review
Let's review it: What designers can learn from (code) reviewLet's review it: What designers can learn from (code) review
Let's review it: What designers can learn from (code) review
 
ISTQB Certified Tester Exam Question Papers and Answers - 11
ISTQB Certified Tester Exam Question Papers and Answers - 11ISTQB Certified Tester Exam Question Papers and Answers - 11
ISTQB Certified Tester Exam Question Papers and Answers - 11
 
Software engineering 22 error detection and debugging
Software engineering 22 error detection and debuggingSoftware engineering 22 error detection and debugging
Software engineering 22 error detection and debugging
 
Sigma Open Tech Week: Bitter Truth About Software Security
Sigma Open Tech Week: Bitter Truth About Software SecuritySigma Open Tech Week: Bitter Truth About Software Security
Sigma Open Tech Week: Bitter Truth About Software Security
 
PhD Welcome Day 2014
PhD Welcome Day 2014PhD Welcome Day 2014
PhD Welcome Day 2014
 
CASA: Context-Aware Scalable Authentication, at SOUPS 2013
CASA: Context-Aware Scalable Authentication, at SOUPS 2013CASA: Context-Aware Scalable Authentication, at SOUPS 2013
CASA: Context-Aware Scalable Authentication, at SOUPS 2013
 
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...Publish or Perish: Questioning the Impact of Our Research on the Software Dev...
Publish or Perish: Questioning the Impact of Our Research on the Software Dev...
 
Beginner's Guide
Beginner's GuideBeginner's Guide
Beginner's Guide
 
Improve Security through Continuous Testing
Improve Security through Continuous TestingImprove Security through Continuous Testing
Improve Security through Continuous Testing
 
IDEAL: An Open-Source Identifier Name Appraisal Tool
IDEAL: An Open-Source Identifier Name Appraisal ToolIDEAL: An Open-Source Identifier Name Appraisal Tool
IDEAL: An Open-Source Identifier Name Appraisal Tool
 
Top 3 Benefits of Framework Based Assessments
Top 3 Benefits of Framework Based AssessmentsTop 3 Benefits of Framework Based Assessments
Top 3 Benefits of Framework Based Assessments
 

Similaire à Thinking in software testing

Lesson 7...Question Part 1
Lesson 7...Question Part 1Lesson 7...Question Part 1
Lesson 7...Question Part 1bhushan Nehete
 
Different Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application TestingDifferent Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application TestingRachel Davis
 
Fundamentals of Testing
Fundamentals of TestingFundamentals of Testing
Fundamentals of TestingCode95
 
Automatic for the People
Automatic for the PeopleAutomatic for the People
Automatic for the PeopleAndy Zaidman
 
I ntroduction to software testing part1
I ntroduction to software testing part1I ntroduction to software testing part1
I ntroduction to software testing part1Prachi Sasankar
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1Yogindernath Gupta
 
Software testing foundation
Software testing foundationSoftware testing foundation
Software testing foundationAnirudh503501
 
Testing: the more you do it, the more you'll like it
Testing: the more you do it, the more you'll like itTesting: the more you do it, the more you'll like it
Testing: the more you do it, the more you'll like itJeffrey McGuire
 
Software testing q as collection by ravi
Software testing q as   collection by raviSoftware testing q as   collection by ravi
Software testing q as collection by raviRavindranath Tagore
 
ISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture NotesISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture Notesonsoftwaretest
 
5-Ways-to-Revolutionize-Your-Software-Testing
5-Ways-to-Revolutionize-Your-Software-Testing5-Ways-to-Revolutionize-Your-Software-Testing
5-Ways-to-Revolutionize-Your-Software-TestingMary Clemons
 
STM-UNIT-1.pptx
STM-UNIT-1.pptxSTM-UNIT-1.pptx
STM-UNIT-1.pptxnischal55
 

Similaire à Thinking in software testing (20)

Test plan
Test planTest plan
Test plan
 
Software engg unit 4
Software engg unit 4 Software engg unit 4
Software engg unit 4
 
Qa Faqs
Qa FaqsQa Faqs
Qa Faqs
 
Stm unit1
Stm unit1Stm unit1
Stm unit1
 
Lesson 7...Question Part 1
Lesson 7...Question Part 1Lesson 7...Question Part 1
Lesson 7...Question Part 1
 
Different Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application TestingDifferent Methodologies For Testing Web Application Testing
Different Methodologies For Testing Web Application Testing
 
Fundamentals of Testing
Fundamentals of TestingFundamentals of Testing
Fundamentals of Testing
 
Automatic for the People
Automatic for the PeopleAutomatic for the People
Automatic for the People
 
I ntroduction to software testing part1
I ntroduction to software testing part1I ntroduction to software testing part1
I ntroduction to software testing part1
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
Software testing foundation
Software testing foundationSoftware testing foundation
Software testing foundation
 
T0 numtq0nje=
T0 numtq0nje=T0 numtq0nje=
T0 numtq0nje=
 
stm f.pdf
stm f.pdfstm f.pdf
stm f.pdf
 
Testing: the more you do it, the more you'll like it
Testing: the more you do it, the more you'll like itTesting: the more you do it, the more you'll like it
Testing: the more you do it, the more you'll like it
 
Software testing q as collection by ravi
Software testing q as   collection by raviSoftware testing q as   collection by ravi
Software testing q as collection by ravi
 
ISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture NotesISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture Notes
 
Test plan
Test planTest plan
Test plan
 
TDD Best Practices
TDD Best PracticesTDD Best Practices
TDD Best Practices
 
5-Ways-to-Revolutionize-Your-Software-Testing
5-Ways-to-Revolutionize-Your-Software-Testing5-Ways-to-Revolutionize-Your-Software-Testing
5-Ways-to-Revolutionize-Your-Software-Testing
 
STM-UNIT-1.pptx
STM-UNIT-1.pptxSTM-UNIT-1.pptx
STM-UNIT-1.pptx
 

Dernier

tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburgmasabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...chiefasafspells
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...masabamasaba
 

Dernier (20)

tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 

Thinking in software testing

  • 1. Software Testing Part I Thinking in Software Testing Saroj Sangphongamphai, August 2015 ss.saroj@gmail.com
  • 2. Sincerely grateful to all teachers, professors, books, websites, and others.
  • 3. Think Big, Set the High Goal
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. Software development life cycle  Analysis and design  Planing  Implementation  Testing  Deployment
  • 9. What is software testing? 1.Testing is the process of demonstrating that errors are not present. 2.The purpose of testing is to show that a program performs its intended functions correctly. 3.Testing is the process of establishing confidence that a program does what it is supposed to do.
  • 10. What is software testing? Testing is the process of executing a program with the intent of finding errors.
  • 11. Terms for software failures Defect Fault Problem Error Incident Anomaly Variance Failure Inconsistency Feature Bug Etc.
  • 12. Software bug: a formal definition (1 of 5) The software does not do something that the product specification says it should do.
  • 13. Software bug: a formal definition (2 of 5) The software does something that the product specification says it should not do.
  • 14. Software bug: a formal definition (3 of 5) The software does something that the product specification does not mention.
  • 15. Software bug: a formal definition (4 of 5) The software does not do something that the product specification does not mention but should.
  • 16. Software bug: a formal definition (5 of 5) The software is difficult to understand, hard to use, slow, or in the software tester’s eyes will be viewed by the end user as just plain not right.
  • 17. Software bug: a formal definition 1.The software does not do something that the product specification says it should do. 2.The software does something that the product specification says it should not do. 3.The software does something that the product specification does not mention. 4.The software does not do something that the product specification does not mention but should. 5.The software is difficult to understand, hard to use, slow, or in the software tester’s eyes will be viewed by the end user as just plain not right.
  • 18. Insights from a Venn Diagram
  • 19. Insights from a Venn Diagram
  • 20. Why do bug occurs?
  • 21. The cost of bugs
  • 22.  To find bugs  To find them as early as possible  And to make sure they get fixed The goal of a software tester
  • 23. The challenge of software testing Exhaustive testing is impractical.
  • 24. Exhaustive testing is impractical A simple function adds two 32 bit numbers and returns a result. Assumption: we can execute 1,000 test cases per second How long will it take to exhaustively test this function? (Signed range 32 bits integer is -2,147,483,648 to 2,147,483,647 and unsigned: 0 to 4,294,967,295)
  • 25. Exhaustive testing is impractical A simple function adds two 32 bit numbers and returns a result. Assumption: we can execute 1,000 test cases per second How long will it take to exhaustively test this function? Answer: 585 million years 2 (32+32) /1000/60/60/24/365 = 584,942,417 years. (Signed range 32 bits integer is -2,147,483,648 to 2,147,483,647 and unsigned: 0 to 4,294,967,295)
  • 26. Optimal amount of testing
  • 27. The psychology of software testing A successful test case is one that detects an undiscovered error.
  • 28. The psychology of software testing
  • 29. The psychology of software testing Testing can only show the presence of errors, not their absence.
  • 30. The psychology of software testing A necessary part of a test case is a definition of the expected output or result.
  • 31. The difference between testing and debugging Testing = Find Bug Debugging = Remove Bug
  • 33. Early testing, more prevention than detection
  • 34. Quality is not equal to test If it is not built right in the first place, then it is never going to be right.
  • 35. Quality is not equal to test Quality is achieved by putting development and testing into a blender and mixing them until one is indistinguishable from the other.
  • 39. Next Software Testing Part II Testing Techniques