SlideShare a Scribd company logo
Software Testing
Methodologies and Tools
UNIT I:Introduction: Purpose of Testing, Dichotomies, Model for Testing,
Consequences of Bugs,Taxonomy of Bugs. Flow graphs and Path testing: Basics
Concepts of Path Testing, Predicates, Path Predicates andAchievable Paths, Path
Sensitizing, Path Instrumentation, Application of Path Testing.
• What is testing?
• Testing is the process of exercising or evaluating a system or system components by
manual orautomated means to verify that it satisfies specified requirements.
• SOFTWARE TESTING:
• Software testing is a process of identifying defects in software and checking whether
the software meets specified requirements or not
• Defect
• The variation between the actual results and expected results is known as defect. If a
developer finds an issue and corrects it by himself in the development phase then it’s
called a defect.
• Bug:If testers find any mismatch in the application/system in testing phase then they
call it as Bug.
• Error: We can’t compile or run a program due to coding mistake in a program. If a
developer unable to successfully compile or run a program then they call it as an error.
• Failure: Once the product is deployed and customers find any issues then they call the
product as a failure product. After release, if an end user finds an issue then that
particular issue is called as failure.
• The Purpose of Testing
• MYTH: Good programmers write code without bugs. (It’s wrong!!!)
• History says that even well written programs still have 1-3 bugs per
hundred statements.
• Productivity and Quality in Software: Productivity is measured by the sum of

the costs of the material, the rework, and thediscarded components, and the
cost of quality assurance and testing.
•  There is a tradeoff between quality assurance costs and manufacturing costs:
If sufficient time is not spent in quality assurance, the reject rate will be high
and sowill be the net cost. If inspection is good and all errors are caught as they
occur,inspection costs will dominate, and again the net cost will suffer.
• The biggest part of software cost is the cost of bugs: the cost of detecting them,
thecost of correcting them, the cost of designing tests that discover them, and
the cost of running those tests.
• Testing and Test Design are parts of quality assurance should also focus on
bugprevention. A prevented bug is better than a detected and corrected bug.
• Phases in a tester's mental life:
• Phases in a tester's mental life can be categorized into the following 5 phases:
• 1. Phase 0: (Until 1956: Debugging Oriented) There is no difference between testing and
debugging.
• 2. Phase 1: (1957-1978: Demonstration Oriented) the purpose of testing here is to show
that software works. This failed because the probability of showing that software works
'decreases' as testing increases. I.e. the more you test, the more likely you will find a
bug.
• 4. Phase 3: (1983-1987: Evaluation Oriented) the purpose of testing is not to prove
anythingbut to reduce the perceived risk of not working to an acceptable value
(Statistical Quality Control). Notion is that testing does improve the product to the
extent that testing catches bugs and to the extent that those bugs are fixed. The
product is released when the confidence on that product is high enough. (Note: This is
applied to large software products with millions of code and years of use.)
• 5. Phase 4: (1988-2000: Prevention Oriented) Testability is the factor considered here.
One reason is to reduce the labor of testing. Other reason is to check the testable and
non-testable code. Testable code has fewer bugs than the code that's hard to test.
Identifying the testing techniques to test the code is the main key here.
• Test Design:
• We know that the software code must be designed and tested, but
many appear to be unaware that tests themselves must be designed
and tested. Tests should be properly designed and tested before
applying it to the actual code.
• Testing isn’t everything:
• There are approaches other than testing to create better software.
Methods other than testing include:
• 1. Inspection Methods: Methods like walkthroughs, desk checking,
formal inspections and code reading appear to be as effective as
testing but the bugs caught don’t completely overlap.
• 2. Design Style: While designing the software itself, adopting stylistic
objectives such as testability, openness and clarity can do much to
prevent bugs.
• 3. Static Analysis Methods: Includes formal analysis of source code
during compilation. In earlier days, it is a routine job of the
programmer to do that. Now, the compilers have taken over that job
• 4. Languages: The source language can help reduce certain kinds of
bugs.Programmers find new bugs while using new languages.
• 5. Development Methodologies and Development Environment: The
development process and the environment in which that
methodology is embedded can prevent many kinds of bugs.
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus
stm unit-1part-I-1.pptx about part 1 syallbus

More Related Content

PPTX
SOFTWARE TESTING
PDF
What is software testing in software engineering?
PDF
What is Testing in Software Engineering?
PPTX
basic software testing principles and obectives.pptx
PDF
stm f.pdf
PPTX
Software testing & Quality Assurance
PDF
EFFECTIVE TEST CASE DESING: A REVIEW
SOFTWARE TESTING
What is software testing in software engineering?
What is Testing in Software Engineering?
basic software testing principles and obectives.pptx
stm f.pdf
Software testing & Quality Assurance
EFFECTIVE TEST CASE DESING: A REVIEW

Similar to stm unit-1part-I-1.pptx about part 1 syallbus (20)

PPTX
UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4
PPTX
UNIT 1.pptx
PPTX
Aim (A).pptx
PPTX
An introduction to Software Testing and Test Management
PPTX
Fundamentals of Testing Section 1/6
PPTX
CCS366 Softwares Testing Automation.pptx
PDF
20MCE14_Software Testing and Quality Assurance Notes.pdf
PDF
Software Engineering TESTING AND MAINTENANCE
PPTX
Software testing
PDF
Fundamentals of Testing (2013)
PPTX
S.E Unit 6colorcolorcolorcolorcolorcolor.pptx
PPTX
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
PDF
Methodology: IT test
PPTX
Software testing introduction
PPTX
1_Introduction to Software Testing - Part 1.pptx
PDF
Stm unit1
PPTX
QA Basics and PM Overview
PDF
Software testing
PPT
Software Testing Fundamentals
PPT
Software coding and testing
UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4 UNIt-4
UNIT 1.pptx
Aim (A).pptx
An introduction to Software Testing and Test Management
Fundamentals of Testing Section 1/6
CCS366 Softwares Testing Automation.pptx
20MCE14_Software Testing and Quality Assurance Notes.pdf
Software Engineering TESTING AND MAINTENANCE
Software testing
Fundamentals of Testing (2013)
S.E Unit 6colorcolorcolorcolorcolorcolor.pptx
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Methodology: IT test
Software testing introduction
1_Introduction to Software Testing - Part 1.pptx
Stm unit1
QA Basics and PM Overview
Software testing
Software Testing Fundamentals
Software coding and testing
Ad

Recently uploaded (20)

PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Trump Administration's workforce development strategy
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
master seminar digital applications in india
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Classroom Observation Tools for Teachers
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Cell Types and Its function , kingdom of life
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Lesson notes of climatology university.
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Yogi Goddess Pres Conference Studio Updates
Anesthesia in Laparoscopic Surgery in India
Trump Administration's workforce development strategy
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
GDM (1) (1).pptx small presentation for students
Weekly quiz Compilation Jan -July 25.pdf
RMMM.pdf make it easy to upload and study
Abdominal Access Techniques with Prof. Dr. R K Mishra
master seminar digital applications in india
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Classroom Observation Tools for Teachers
202450812 BayCHI UCSC-SV 20250812 v17.pptx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Cell Types and Its function , kingdom of life
VCE English Exam - Section C Student Revision Booklet
Final Presentation General Medicine 03-08-2024.pptx
Lesson notes of climatology university.
Orientation - ARALprogram of Deped to the Parents.pptx
Supply Chain Operations Speaking Notes -ICLT Program
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Yogi Goddess Pres Conference Studio Updates
Ad

stm unit-1part-I-1.pptx about part 1 syallbus

  • 1. Software Testing Methodologies and Tools UNIT I:Introduction: Purpose of Testing, Dichotomies, Model for Testing, Consequences of Bugs,Taxonomy of Bugs. Flow graphs and Path testing: Basics Concepts of Path Testing, Predicates, Path Predicates andAchievable Paths, Path Sensitizing, Path Instrumentation, Application of Path Testing.
  • 2. • What is testing? • Testing is the process of exercising or evaluating a system or system components by manual orautomated means to verify that it satisfies specified requirements. • SOFTWARE TESTING: • Software testing is a process of identifying defects in software and checking whether the software meets specified requirements or not • Defect • The variation between the actual results and expected results is known as defect. If a developer finds an issue and corrects it by himself in the development phase then it’s called a defect. • Bug:If testers find any mismatch in the application/system in testing phase then they call it as Bug. • Error: We can’t compile or run a program due to coding mistake in a program. If a developer unable to successfully compile or run a program then they call it as an error. • Failure: Once the product is deployed and customers find any issues then they call the product as a failure product. After release, if an end user finds an issue then that particular issue is called as failure.
  • 3. • The Purpose of Testing • MYTH: Good programmers write code without bugs. (It’s wrong!!!) • History says that even well written programs still have 1-3 bugs per hundred statements. • Productivity and Quality in Software: Productivity is measured by the sum of  the costs of the material, the rework, and thediscarded components, and the cost of quality assurance and testing. •  There is a tradeoff between quality assurance costs and manufacturing costs: If sufficient time is not spent in quality assurance, the reject rate will be high and sowill be the net cost. If inspection is good and all errors are caught as they occur,inspection costs will dominate, and again the net cost will suffer. • The biggest part of software cost is the cost of bugs: the cost of detecting them, thecost of correcting them, the cost of designing tests that discover them, and the cost of running those tests. • Testing and Test Design are parts of quality assurance should also focus on bugprevention. A prevented bug is better than a detected and corrected bug.
  • 4. • Phases in a tester's mental life: • Phases in a tester's mental life can be categorized into the following 5 phases: • 1. Phase 0: (Until 1956: Debugging Oriented) There is no difference between testing and debugging. • 2. Phase 1: (1957-1978: Demonstration Oriented) the purpose of testing here is to show that software works. This failed because the probability of showing that software works 'decreases' as testing increases. I.e. the more you test, the more likely you will find a bug. • 4. Phase 3: (1983-1987: Evaluation Oriented) the purpose of testing is not to prove anythingbut to reduce the perceived risk of not working to an acceptable value (Statistical Quality Control). Notion is that testing does improve the product to the extent that testing catches bugs and to the extent that those bugs are fixed. The product is released when the confidence on that product is high enough. (Note: This is applied to large software products with millions of code and years of use.) • 5. Phase 4: (1988-2000: Prevention Oriented) Testability is the factor considered here. One reason is to reduce the labor of testing. Other reason is to check the testable and non-testable code. Testable code has fewer bugs than the code that's hard to test. Identifying the testing techniques to test the code is the main key here.
  • 5. • Test Design: • We know that the software code must be designed and tested, but many appear to be unaware that tests themselves must be designed and tested. Tests should be properly designed and tested before applying it to the actual code. • Testing isn’t everything: • There are approaches other than testing to create better software. Methods other than testing include: • 1. Inspection Methods: Methods like walkthroughs, desk checking, formal inspections and code reading appear to be as effective as testing but the bugs caught don’t completely overlap. • 2. Design Style: While designing the software itself, adopting stylistic objectives such as testability, openness and clarity can do much to prevent bugs.
  • 6. • 3. Static Analysis Methods: Includes formal analysis of source code during compilation. In earlier days, it is a routine job of the programmer to do that. Now, the compilers have taken over that job • 4. Languages: The source language can help reduce certain kinds of bugs.Programmers find new bugs while using new languages. • 5. Development Methodologies and Development Environment: The development process and the environment in which that methodology is embedded can prevent many kinds of bugs.