SlideShare a Scribd company logo
1 of 26
Fundamentals
of testing
HOÀNG HIỀN
ISTQB Foundation Level
Contents
1. What is Tesing?
2. Why is tesing necessary?
3. Seven testing principles?
What is Testing?
 Software testing is a process which includes many
different activities to assess the quality of the software and
to reduce the risk of software failure in operation.
 Software testing Involve:
• Dynamic Testing & Static Testing
• Verification & Validation
Typical Objectives of Testing
 To evaluate work products such as requirements, user stories,
design, and code
 To verify whether all specified requirements have been fulfilled
 To validate whether the test object is complete and works as the
users and other stakeholders expect
 To build confidence in the level of quality of the test object
 To prevent defects
 To find failures and defects
Typical Objectives of Testing
 To provide sufficient information to stakeholders to allow
them to make informed decisions, especially regarding the
level of quality of the test object
 To reduce the level of risk of inadequate software quality
(e.g., previously undetected failures occurring in operation)
 To comply with contractual, legal, or regulatory requirements
or standards, and/or to verify the test object’s compliance with
such requirements or standards
Testing and Debugging
 Executing tests can show
failures that are caused by
defects in the software
in operation
 Debugging is the development
activity that finds, analyzes,
and fixes such defects
Why is testing neccesary?
 FL-1.2.1 (K2) Give examples of why testing is necessary
 FL-1.2.2 (K2) Describe the relationship between testing and
quality assurance and give examples of how testing contributes
to higher quality
 FL-1.2.3 (K2) Distinguish between error, defect, and failure
 FL-1.2.4 (K2) Distinguish between the root cause of a defect
and its effects
Why is testing neccesary?
Why is testing neccesary?
Why is testing neccesary?
• Tàu thăm dò khí hậu Sao Hỏa được phóng lên vào năm 1998 đã bị phá
hủy do ma sát với bầu khí quyển Sao Hỏa khi sai số lên đến 100 km bởi
một lỗi dẫn đường (người điều khiển ở mặt đất đã sử dụng feet trong
khi các phần mềm tính toán lại sử dụng hệ mét)
• Trong năm 2014, GM đã triệu hồi gần 2,6 triệu xe do lỗi ở bộ phận đánh
lửa khiến túi khí không bung ra trong trường hợp xảy ra tai nạn. (lỗi này
khiến 124 người chết và 275 người bị thương).
Why is testing neccesary?
 Software Testing is necessary because humans make mistakes all the
time.
 Testing can help reduce the risk of failures occurring during operation.
 Testing contributes to the quality of the components or systems. In
addition, software testing may also be required to meet contractual or
legal requirements or industry-specific standards.
Testing’s Contributions to Success
Appropriate test techniques are applied with the appropriate level at the
appropriate points => reduce the frequency of such problematic deliveries
• In requirements reviews or user story refinement => reduces the risk of
incorrect or untestable functionality being developed.
• In system design => reduce the risk of fundamental design defects and enable
tests to be identified at an early stage.
• In development => reduce the risk of defects within the code and the tests.
• Verify and validate the software prior to release => Increases the likelihood
that the software meets stakeholder needs and satisfies requirements.
Quality Assurance and Testing
Quality assurance and testing are not the same, but they are related. A larger
concept, quality management, ties them together.
• Quality assurance is focused on adherence to proper processes. When
processes are carried out properly, the work products are generally of higher
quality, which contributes to defect prevention.
• Quality control involves various activities, including test activities, that support
the achievement of appropriate levels of quality. Test activities are part of the
overall software development or maintenance process. Since quality assurance
is concerned with the proper execution of the entire process, quality
assurance supports proper testing.
Errors, Defects, and Failures
A person can make an error (mistake) => defect (fault or bug) in the
software code or in some other related work product = > failure (false)
in execute
Errors, Defects, and Failures
Mother of bug - 9-9-1947
Defects, Root Causes and Effects
• The root causes of defects are the earliest actions or conditions that
contributed to creating the defects
1.Seven testing principles
 (K2) Explain the seven testing principles
Testing shows the presence of defects,
not their absence
• Testing can show the defects are present, but cannot prove that there
are no defects.
Exhaustive testing is impossible
• Testing everything including all combinations of inputs and
preconditions is not possible
• risk analysis, test techniques, and priorities to focus testing efforts
Early testing saves time and money
• In the software development life cycle testing activities should start as
early as possible and should be focused on defined objectives.
Defects cluster together
• A small number of modules usually contains most of the defects or is
responsible for most of the operational failures.
• Predicted defect clusters are an important input into a risk analysis
used to focus the test effort
Beware of the pesticide paradox
• If the same tests are repeated over and over again, eventually these
tests no longer find any new defects.
• To detect new defects, existing tests and test data may need
changing, and new tests may need to be written.
Testing is context dependent
 Testing is basically context dependent.
• Different kinds of program are tested differently
• Testing is diffent in Different kinds of lifecycle project
Absence-of-errors is a fallacy
• It is a fallacy (i.e., a mistaken belief) to expect that just finding and
fixing a large number of defects will ensure the success of a system.
THANKS!
Any questions?
You can find me at
@Hoang Hien/ hthien@software.misa.com.vn

More Related Content

What's hot

TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
suhasreddy1
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
Yogindernath Gupta
 

What's hot (20)

Stlc ppt
Stlc pptStlc ppt
Stlc ppt
 
Chapter 3 - Static Testing
Chapter 3 - Static TestingChapter 3 - Static Testing
Chapter 3 - Static Testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
ISTQB Test level, Test type
ISTQB Test level, Test typeISTQB Test level, Test type
ISTQB Test level, Test type
 
Chapter 1 - Basic Concepts
Chapter 1 - Basic ConceptsChapter 1 - Basic Concepts
Chapter 1 - Basic Concepts
 
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management
 
ISTQB - Software development life cycle
ISTQB - Software development life cycleISTQB - Software development life cycle
ISTQB - Software development life cycle
 
Software Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s GuideSoftware Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s Guide
 
Types of testing
Types of testingTypes of testing
Types of testing
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 
stlc
stlcstlc
stlc
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
 
Software testing
Software testingSoftware testing
Software testing
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
 
Chapter 2 - Testing Throughout the Development LifeCycle
Chapter 2 - Testing Throughout the Development LifeCycleChapter 2 - Testing Throughout the Development LifeCycle
Chapter 2 - Testing Throughout the Development LifeCycle
 
Software testing
Software testingSoftware testing
Software testing
 
Test Strategy
Test StrategyTest Strategy
Test Strategy
 
How To Write A Test Case In Software Testing | Edureka
How To Write A Test Case In Software Testing | EdurekaHow To Write A Test Case In Software Testing | Edureka
How To Write A Test Case In Software Testing | Edureka
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 

Similar to ISTQB - What's testing

Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
Chankey Pathak
 

Similar to ISTQB - What's testing (20)

Principles and Goals of Software Testing
Principles and Goals of Software Testing Principles and Goals of Software Testing
Principles and Goals of Software Testing
 
Fundamentals of Testing Section 1/6
Fundamentals of Testing   Section 1/6Fundamentals of Testing   Section 1/6
Fundamentals of Testing Section 1/6
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
SQA_Class
SQA_ClassSQA_Class
SQA_Class
 
Fundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptxFundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptx
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Testing Software
Testing SoftwareTesting Software
Testing Software
 
An introduction to Software Testing and Test Management
An introduction to Software Testing and Test ManagementAn introduction to Software Testing and Test Management
An introduction to Software Testing and Test Management
 
EFFECTIVE TEST CASE DESING: A REVIEW
EFFECTIVE TEST CASE DESING: A REVIEWEFFECTIVE TEST CASE DESING: A REVIEW
EFFECTIVE TEST CASE DESING: A REVIEW
 
Lesson 7...Question Part 1
Lesson 7...Question Part 1Lesson 7...Question Part 1
Lesson 7...Question Part 1
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Software Testing Interview Questions For Experienced
Software Testing Interview Questions For ExperiencedSoftware Testing Interview Questions For Experienced
Software Testing Interview Questions For Experienced
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
CTFL Module 01
CTFL Module 01CTFL Module 01
CTFL Module 01
 
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTINGWelingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
 

More from HoangThiHien1 (6)

Thiet ket function
Thiet ket functionThiet ket function
Thiet ket function
 
Thiet ke test case luong
Thiet ke test case luongThiet ke test case luong
Thiet ke test case luong
 
Overview
OverviewOverview
Overview
 
Bdd
BddBdd
Bdd
 
Auto
AutoAuto
Auto
 
Mô tả lỗi hiệu quả
Mô tả lỗi hiệu quảMô tả lỗi hiệu quả
Mô tả lỗi hiệu quả
 

Recently uploaded

Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 

Recently uploaded (20)

Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
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
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
 
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
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and ApplicationsWSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Driving Innovation: Scania's API Revolution with WSO2
Driving Innovation: Scania's API Revolution with WSO2Driving Innovation: Scania's API Revolution with WSO2
Driving Innovation: Scania's API Revolution with WSO2
 
Evolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI EraEvolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI Era
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AI
 

ISTQB - What's testing

  • 3. Contents 1. What is Tesing? 2. Why is tesing necessary? 3. Seven testing principles?
  • 4. What is Testing?  Software testing is a process which includes many different activities to assess the quality of the software and to reduce the risk of software failure in operation.  Software testing Involve: • Dynamic Testing & Static Testing • Verification & Validation
  • 5. Typical Objectives of Testing  To evaluate work products such as requirements, user stories, design, and code  To verify whether all specified requirements have been fulfilled  To validate whether the test object is complete and works as the users and other stakeholders expect  To build confidence in the level of quality of the test object  To prevent defects  To find failures and defects
  • 6. Typical Objectives of Testing  To provide sufficient information to stakeholders to allow them to make informed decisions, especially regarding the level of quality of the test object  To reduce the level of risk of inadequate software quality (e.g., previously undetected failures occurring in operation)  To comply with contractual, legal, or regulatory requirements or standards, and/or to verify the test object’s compliance with such requirements or standards
  • 7. Testing and Debugging  Executing tests can show failures that are caused by defects in the software in operation  Debugging is the development activity that finds, analyzes, and fixes such defects
  • 8. Why is testing neccesary?  FL-1.2.1 (K2) Give examples of why testing is necessary  FL-1.2.2 (K2) Describe the relationship between testing and quality assurance and give examples of how testing contributes to higher quality  FL-1.2.3 (K2) Distinguish between error, defect, and failure  FL-1.2.4 (K2) Distinguish between the root cause of a defect and its effects
  • 9. Why is testing neccesary?
  • 10. Why is testing neccesary?
  • 11. Why is testing neccesary? • Tàu thăm dò khí hậu Sao Hỏa được phóng lên vào năm 1998 đã bị phá hủy do ma sát với bầu khí quyển Sao Hỏa khi sai số lên đến 100 km bởi một lỗi dẫn đường (người điều khiển ở mặt đất đã sử dụng feet trong khi các phần mềm tính toán lại sử dụng hệ mét) • Trong năm 2014, GM đã triệu hồi gần 2,6 triệu xe do lỗi ở bộ phận đánh lửa khiến túi khí không bung ra trong trường hợp xảy ra tai nạn. (lỗi này khiến 124 người chết và 275 người bị thương).
  • 12. Why is testing neccesary?  Software Testing is necessary because humans make mistakes all the time.  Testing can help reduce the risk of failures occurring during operation.  Testing contributes to the quality of the components or systems. In addition, software testing may also be required to meet contractual or legal requirements or industry-specific standards.
  • 13. Testing’s Contributions to Success Appropriate test techniques are applied with the appropriate level at the appropriate points => reduce the frequency of such problematic deliveries • In requirements reviews or user story refinement => reduces the risk of incorrect or untestable functionality being developed. • In system design => reduce the risk of fundamental design defects and enable tests to be identified at an early stage. • In development => reduce the risk of defects within the code and the tests. • Verify and validate the software prior to release => Increases the likelihood that the software meets stakeholder needs and satisfies requirements.
  • 14. Quality Assurance and Testing Quality assurance and testing are not the same, but they are related. A larger concept, quality management, ties them together. • Quality assurance is focused on adherence to proper processes. When processes are carried out properly, the work products are generally of higher quality, which contributes to defect prevention. • Quality control involves various activities, including test activities, that support the achievement of appropriate levels of quality. Test activities are part of the overall software development or maintenance process. Since quality assurance is concerned with the proper execution of the entire process, quality assurance supports proper testing.
  • 15. Errors, Defects, and Failures A person can make an error (mistake) => defect (fault or bug) in the software code or in some other related work product = > failure (false) in execute
  • 16. Errors, Defects, and Failures Mother of bug - 9-9-1947
  • 17. Defects, Root Causes and Effects • The root causes of defects are the earliest actions or conditions that contributed to creating the defects
  • 18. 1.Seven testing principles  (K2) Explain the seven testing principles
  • 19. Testing shows the presence of defects, not their absence • Testing can show the defects are present, but cannot prove that there are no defects.
  • 20. Exhaustive testing is impossible • Testing everything including all combinations of inputs and preconditions is not possible • risk analysis, test techniques, and priorities to focus testing efforts
  • 21. Early testing saves time and money • In the software development life cycle testing activities should start as early as possible and should be focused on defined objectives.
  • 22. Defects cluster together • A small number of modules usually contains most of the defects or is responsible for most of the operational failures. • Predicted defect clusters are an important input into a risk analysis used to focus the test effort
  • 23. Beware of the pesticide paradox • If the same tests are repeated over and over again, eventually these tests no longer find any new defects. • To detect new defects, existing tests and test data may need changing, and new tests may need to be written.
  • 24. Testing is context dependent  Testing is basically context dependent. • Different kinds of program are tested differently • Testing is diffent in Different kinds of lifecycle project
  • 25. Absence-of-errors is a fallacy • It is a fallacy (i.e., a mistaken belief) to expect that just finding and fixing a large number of defects will ensure the success of a system.
  • 26. THANKS! Any questions? You can find me at @Hoang Hien/ hthien@software.misa.com.vn