SlideShare a Scribd company logo
Testing
BY KIRAN
Testing process
.
oracle
s
s
test
strategy
compare
input
set of
input
set of
input
expected
output
real
output
test
results
Observations about testing
 “Testing is the process of executing a program with the intention of
finding errors.” – Myers
 “Testing can show the presence of bugs but never their absence.” - Dijkstra
Levels of testing
 Unit Testing
 Integration Testing
 Validation Testing
 Regression Testing
 Alpha Testing
 Beta Testing
 Acceptance Testing
Unit testing
 Algorithms and logic
 Data structures (global and local)
 Interfaces
 Independent paths
 Boundary conditions
 Error handling
Why integration testing is necessary?
 One module can have an adverse effect on another
 Sub-functions, when combined, may not produce the desired major
function
 Individually acceptable imprecision in calculations may be magnified to
unacceptable levels
Validation testing
 Determine if the software meets all of the requirements defined in the SRS
 Having written requirements is essential
 Regression testing is performed to determine if the software still meets all
of its requirements in light of changes and modifications to the software
 Regression testing involves selectively repeating existing validation tests,
not developing new tests
ALPHA AND BETA TESTING
 It’s best to provide customers with an outline of the things that you would
like them to focus on and specific test scenarios for them to execute.
 Provide with customers who are actively involved with a commitment to fix
defects that they discover.
ACCEPTANCE TESTING
 Similar to validation testing except that customers are present or directly
involved.
 Usually the tests are developed by the customer
TESTING METHODS
 White box or glass box testing
 Black box testing
 Top-down and bottom-up for performing incremental integration
 ALAC (Act-like-a-customer)
WHITE BOX TESTING
 White-box testing (also known as clear box testing, glass box
testing, transparent box testing, and structural testing) is a method of
testing software that tests internal structures or workings of an application, as
opposed to its functionality (i.e. black-box testing). In white-box testing an
internal perspective of the system, as well as programming skills, are used to
design test cases.
BLACK BOX TESTING
 Black-box testing is a method of software testing that examines the
functionality of an application without peering into its internal structures or
workings. This method of test can be applied to virtually every level of software
testing: unit, integration, system and acceptance. It typically comprises most if
not all higher level testing, but can also dominate unit testing as well.
Top down Testing:
In this approach testing is conducted from main module to sub module. if the sub module
is not developed a temporary program called STUB is used for simulate the submodule.
Advantages:
- Advantageous if major flaws occur toward the top of the program.
- Once the I/O functions are added, representation of test cases is easier.
Disadvantages:
- Stub modules must be produced
- Stub Modules are often more complicated than they first appear to be.
- Before the I/O functions are added, representation of test cases in stubs can be difficult.
- Test conditions ma be impossible, or very difficult, to create.
- Observation of test output is more difficult.
- Allows one to think that design and testing can be overlapped.
- Induces one to defer completion of the testing of certain modules.
Bottom up testing
In this approach testing is conducted from sub module to main module, if the
main module is not developed a temporary program called DRIVERS is used to
simulate the main module.
Advantages:
- Advantageous if major flaws occur toward the bottom of the program.
- Test conditions are easier to create.
- Observation of test results is easier.
Disadvantages:
- Driver Modules must be produced.
- The program as an entity does not exist until the last module is added.
Act-like-a-customer
 Act-like-a-customer (ALAC) software testing is a method in which tests are
developed based on knowledge of how customers use the software
product. ALAC tests are based on the principle that complex software
products have many bugs. ALAC tests allow us to focus on finding those
bugs that customers are most likely to find. Acting like a customer also
means developing tests that:
 a) Do it wrong;
b) Use wrong or illegal combinations of input;
c) Do not do enough;
d) Do nothing;
e) Do too much.
Dynamic testing classification:
DYNAMIC TESTING
STATIC
TESTING
REVIEW PEAR VIEW
WALK
THROUGH
STRUCTURAL
TESTING
NON-
FUNCTIONAL
TESTING
Usability Security performance
FUNCTIONAL
TESTING
EP(EQUIVALE
NT PARTION
BVA(BOUND
ARY VALUE
ANALYSIS)
UCA(USE
CASE
ANALYSIS)
Usability testing:
 Usability testing is a way to see how easy to use something is by testing it
with real users. Users are asked to complete tasks, typically while they are
being observed by a researcher, to see where they encounter problems
and experience confusion.
Security testing:
Security testing is a testing technique to determine if an information system
protects data and maintains functionality as intended. It also aims at verifying
6 basic principles as listed below:
 Confidentiality
 Integrity
 Authentication
 Authorization
 Availability
 Non-repudiation
PERFORMANCE TESTING
 The process of determining the speed or effectiveness of a computer, network,
software program or device. This process can involve quantitative tests done in a
lab, such as measuring the response time or the number of MIPS (millions of
instructions per second) at which a system functions.
PERFORMANCE TESTING TYPES:
LOAD TESTING
VOLUME TESTING
STRESS TESTING
Load testing
 The process of putting demand on a software system or computing device
and measuring its response. Load testing is performed to determine a
system's behaviour under both normal and anticipated
peak load conditions.
Volume testing
 Volume testing is a Non-functional testing that is performed as part of
performance testing where the software is subjected to a huge volume of
data. It is also referred as flood testing.
Stress testing
 Stress testing is the process of determining the ability of a computer,
network, program or device to maintain a certain level of effectiveness
under unfavourable conditions. The process can involve
quantitative tests done in a lab, such as measuring the frequency of errors
or system crashes.
DOCUMENTATION
 Testing documentation involves the documentation of artifacts that should
be developped before or during the testing of Software.
 Test Plan
Test Scenario
Test Case
Traceability Matrix
Test Plan
 A test plan outlines the strategy that will be used to test an application, the resources that will
be used, the test environment in which testing will be performed, and the limitations of the
testing and the schedule of testing activities. Typically the Quality Assurance Team Lead will be
responsible for writing a Test Plan.
Test Scenario
 It is a one line statement that notifies what area in the application will be
tested. Test scenarios are used to ensure that all process flows are tested
from end to end. A particular area of an application can have as little as
one test scenario to a few hundred scenarios depending on the magnitude
and complexity of the application.
Test Case
 Test cases involve a set of steps, conditions, and inputs that can be used while performing testing tasks. The
main intent of this activity is to ensure whether a software passes or fails in terms of its functionality and other
aspects. There are many types of test cases such as functional, negative, error, logical test cases, physical test
cases, UI test cases, etc.
 However, the following components are always available and included in every test case:
Test case ID
Product module.
Product version
Revision history
Purpose
Assumptions
Pre-conditions
 Steps
Expected outcome.
Actual outcome
Post-conditions
Traceability Matrix
 Traceability Matrix (also known as Requirement Traceability Matrix - RTM) is a table
that is used to trace the requirements during the SDLC. It can be used for forward
tracing (i.e. from Requirements to Design or Coding) or backward (i.e. from Coding to
Requirements). There are many user-defined templates for RTM. Each requirement in
the RTM document is linked with its associated test case so that testing can be done
as per the mentioned requirements. Furthermore, Bug ID is also included and linked
with its associated requirements and test case.
The main goals for this matrix are:
 Make sure the software is developed as per the mentioned requirements.
 Helps in finding the root cause of any bug.
 Helps in tracing the developed documents during different phases of SDLC.
Testing ppt

More Related Content

PPT
Basic software-testing-concepts
PPT
Manual testing ppt
PPTX
ISTQB - What's testing
PPTX
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
PPT
Testing concepts ppt
PPTX
PPT
Testing fundamentals
PDF
Software testing methods, levels and types
Basic software-testing-concepts
Manual testing ppt
ISTQB - What's testing
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Testing concepts ppt
Testing fundamentals
Software testing methods, levels and types

What's hot (20)

PPTX
Software testing.ppt
PDF
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
PPTX
Software Testing Basics
PDF
Software testing
PPTX
Fundamentals of testing
PPT
Software Testing 101
PDF
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
PDF
Test Automation
PDF
What is Software Testing | Edureka
PPTX
Software Testing Life Cycle – A Beginner’s Guide
PPTX
Software Testing or Quality Assurance
PDF
Types of Software Testing | Edureka
PPS
ISTQB Foundation - Chapter 3
PPT
Test Management introduction
PDF
QA interview questions and answers
PDF
Testing concepts [3] - Software Testing Techniques (CIS640)
PPTX
Strategies For Software Test Documentation
PPT
Software Testing
PPTX
PDF
Software Testing Principles
Software testing.ppt
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Basics
Software testing
Fundamentals of testing
Software Testing 101
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
Test Automation
What is Software Testing | Edureka
Software Testing Life Cycle – A Beginner’s Guide
Software Testing or Quality Assurance
Types of Software Testing | Edureka
ISTQB Foundation - Chapter 3
Test Management introduction
QA interview questions and answers
Testing concepts [3] - Software Testing Techniques (CIS640)
Strategies For Software Test Documentation
Software Testing
Software Testing Principles
Ad

Viewers also liked (20)

ODP
Unit testing-patterns
PPTX
FU 4. 8 12 agosto 2016 lectura
PDF
Поросенок Пётр
PPTX
Creatingadvantage employee 5 17 16 v2
PPTX
Fu 1. 12 16 sept 2016
PDF
Francois lurton catalog-new1
PDF
Lurton wines photo
PDF
Tf on premise_catalog_12_2015_0709
PPTX
Contaminación atmosférica
PPTX
FU 1. 5 9 sept 2016
PPTX
Mapa conceptual do
PPSX
Alpha Intro_2016
PPTX
Grayling creds for harman 02 10-2016
PPTX
Gerencia industrial libro
PPTX
Fu 4. 22-26 agosto 2016
PDF
Refugees_and_asylum_seekers_in_press_coverage
PDF
T rec-g.825-200003-i!!pdf-e
PDF
MOHD HEFNY NEW CV 1115555 - Copy
PPTX
FU 4. 15 19 agosto 2016
Unit testing-patterns
FU 4. 8 12 agosto 2016 lectura
Поросенок Пётр
Creatingadvantage employee 5 17 16 v2
Fu 1. 12 16 sept 2016
Francois lurton catalog-new1
Lurton wines photo
Tf on premise_catalog_12_2015_0709
Contaminación atmosférica
FU 1. 5 9 sept 2016
Mapa conceptual do
Alpha Intro_2016
Grayling creds for harman 02 10-2016
Gerencia industrial libro
Fu 4. 22-26 agosto 2016
Refugees_and_asylum_seekers_in_press_coverage
T rec-g.825-200003-i!!pdf-e
MOHD HEFNY NEW CV 1115555 - Copy
FU 4. 15 19 agosto 2016
Ad

Similar to Testing ppt (20)

PPTX
Software-Testing-ppt.pptx
PPTX
testing.pptx
PPTX
Software_Testing_ppt.pptx
PDF
Software_Testing_ppt.pdf software engineering
PPTX
Structured system analysis and design
PPSX
Introduction to software testing
PPT
Software Testing Presentation in Cegonsoft Pvt Ltd...
PPTX
Software Testing
PPTX
SE-Unit 4_software testing stretagy.pptx
PPTX
softwaretestingppt-FINAL-PPT-1
PPT
PPTX
software testing technique
PPTX
Software testing ppt
PPT
Software Engineering Lec 10 -software testing--
PPT
Software Engineering (Testing Overview)
PPTX
https://www.slideshare.net/slideshow/system-testing-60970402/60970402Software...
PPTX
Software testing
PPT
Testing Types And Models
PPTX
System Testing.pptx
PDF
Best software testing course
Software-Testing-ppt.pptx
testing.pptx
Software_Testing_ppt.pptx
Software_Testing_ppt.pdf software engineering
Structured system analysis and design
Introduction to software testing
Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing
SE-Unit 4_software testing stretagy.pptx
softwaretestingppt-FINAL-PPT-1
software testing technique
Software testing ppt
Software Engineering Lec 10 -software testing--
Software Engineering (Testing Overview)
https://www.slideshare.net/slideshow/system-testing-60970402/60970402Software...
Software testing
Testing Types And Models
System Testing.pptx
Best software testing course

Recently uploaded (20)

PPTX
Transform Your Business with a Software ERP System
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
System and Network Administration Chapter 2
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Introduction to Artificial Intelligence
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
AI in Product Development-omnex systems
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
Transform Your Business with a Software ERP System
PTS Company Brochure 2025 (1).pdf.......
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
System and Network Administration Chapter 2
How to Choose the Right IT Partner for Your Business in Malaysia
wealthsignaloriginal-com-DS-text-... (1).pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Introduction to Artificial Intelligence
How Creative Agencies Leverage Project Management Software.pdf
Design an Analysis of Algorithms II-SECS-1021-03
AI in Product Development-omnex systems
Design an Analysis of Algorithms I-SECS-1021-03
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
2025 Textile ERP Trends: SAP, Odoo & Oracle
Softaken Excel to vCard Converter Software.pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
Understanding Forklifts - TECH EHS Solution
Odoo POS Development Services by CandidRoot Solutions
Odoo Companies in India – Driving Business Transformation.pdf
Wondershare Filmora 15 Crack With Activation Key [2025

Testing ppt

  • 2. Testing process . oracle s s test strategy compare input set of input set of input expected output real output test results
  • 3. Observations about testing  “Testing is the process of executing a program with the intention of finding errors.” – Myers  “Testing can show the presence of bugs but never their absence.” - Dijkstra
  • 4. Levels of testing  Unit Testing  Integration Testing  Validation Testing  Regression Testing  Alpha Testing  Beta Testing  Acceptance Testing
  • 5. Unit testing  Algorithms and logic  Data structures (global and local)  Interfaces  Independent paths  Boundary conditions  Error handling
  • 6. Why integration testing is necessary?  One module can have an adverse effect on another  Sub-functions, when combined, may not produce the desired major function  Individually acceptable imprecision in calculations may be magnified to unacceptable levels
  • 7. Validation testing  Determine if the software meets all of the requirements defined in the SRS  Having written requirements is essential  Regression testing is performed to determine if the software still meets all of its requirements in light of changes and modifications to the software  Regression testing involves selectively repeating existing validation tests, not developing new tests
  • 8. ALPHA AND BETA TESTING  It’s best to provide customers with an outline of the things that you would like them to focus on and specific test scenarios for them to execute.  Provide with customers who are actively involved with a commitment to fix defects that they discover.
  • 9. ACCEPTANCE TESTING  Similar to validation testing except that customers are present or directly involved.  Usually the tests are developed by the customer
  • 10. TESTING METHODS  White box or glass box testing  Black box testing  Top-down and bottom-up for performing incremental integration  ALAC (Act-like-a-customer)
  • 11. WHITE BOX TESTING  White-box testing (also known as clear box testing, glass box testing, transparent box testing, and structural testing) is a method of testing software that tests internal structures or workings of an application, as opposed to its functionality (i.e. black-box testing). In white-box testing an internal perspective of the system, as well as programming skills, are used to design test cases.
  • 12. BLACK BOX TESTING  Black-box testing is a method of software testing that examines the functionality of an application without peering into its internal structures or workings. This method of test can be applied to virtually every level of software testing: unit, integration, system and acceptance. It typically comprises most if not all higher level testing, but can also dominate unit testing as well.
  • 13. Top down Testing: In this approach testing is conducted from main module to sub module. if the sub module is not developed a temporary program called STUB is used for simulate the submodule. Advantages: - Advantageous if major flaws occur toward the top of the program. - Once the I/O functions are added, representation of test cases is easier. Disadvantages: - Stub modules must be produced - Stub Modules are often more complicated than they first appear to be. - Before the I/O functions are added, representation of test cases in stubs can be difficult. - Test conditions ma be impossible, or very difficult, to create. - Observation of test output is more difficult. - Allows one to think that design and testing can be overlapped. - Induces one to defer completion of the testing of certain modules.
  • 14. Bottom up testing In this approach testing is conducted from sub module to main module, if the main module is not developed a temporary program called DRIVERS is used to simulate the main module. Advantages: - Advantageous if major flaws occur toward the bottom of the program. - Test conditions are easier to create. - Observation of test results is easier. Disadvantages: - Driver Modules must be produced. - The program as an entity does not exist until the last module is added.
  • 15. Act-like-a-customer  Act-like-a-customer (ALAC) software testing is a method in which tests are developed based on knowledge of how customers use the software product. ALAC tests are based on the principle that complex software products have many bugs. ALAC tests allow us to focus on finding those bugs that customers are most likely to find. Acting like a customer also means developing tests that:  a) Do it wrong; b) Use wrong or illegal combinations of input; c) Do not do enough; d) Do nothing; e) Do too much.
  • 16. Dynamic testing classification: DYNAMIC TESTING STATIC TESTING REVIEW PEAR VIEW WALK THROUGH STRUCTURAL TESTING NON- FUNCTIONAL TESTING Usability Security performance FUNCTIONAL TESTING EP(EQUIVALE NT PARTION BVA(BOUND ARY VALUE ANALYSIS) UCA(USE CASE ANALYSIS)
  • 17. Usability testing:  Usability testing is a way to see how easy to use something is by testing it with real users. Users are asked to complete tasks, typically while they are being observed by a researcher, to see where they encounter problems and experience confusion.
  • 18. Security testing: Security testing is a testing technique to determine if an information system protects data and maintains functionality as intended. It also aims at verifying 6 basic principles as listed below:  Confidentiality  Integrity  Authentication  Authorization  Availability  Non-repudiation
  • 19. PERFORMANCE TESTING  The process of determining the speed or effectiveness of a computer, network, software program or device. This process can involve quantitative tests done in a lab, such as measuring the response time or the number of MIPS (millions of instructions per second) at which a system functions.
  • 20. PERFORMANCE TESTING TYPES: LOAD TESTING VOLUME TESTING STRESS TESTING
  • 21. Load testing  The process of putting demand on a software system or computing device and measuring its response. Load testing is performed to determine a system's behaviour under both normal and anticipated peak load conditions.
  • 22. Volume testing  Volume testing is a Non-functional testing that is performed as part of performance testing where the software is subjected to a huge volume of data. It is also referred as flood testing.
  • 23. Stress testing  Stress testing is the process of determining the ability of a computer, network, program or device to maintain a certain level of effectiveness under unfavourable conditions. The process can involve quantitative tests done in a lab, such as measuring the frequency of errors or system crashes.
  • 24. DOCUMENTATION  Testing documentation involves the documentation of artifacts that should be developped before or during the testing of Software.  Test Plan Test Scenario Test Case Traceability Matrix
  • 25. Test Plan  A test plan outlines the strategy that will be used to test an application, the resources that will be used, the test environment in which testing will be performed, and the limitations of the testing and the schedule of testing activities. Typically the Quality Assurance Team Lead will be responsible for writing a Test Plan.
  • 26. Test Scenario  It is a one line statement that notifies what area in the application will be tested. Test scenarios are used to ensure that all process flows are tested from end to end. A particular area of an application can have as little as one test scenario to a few hundred scenarios depending on the magnitude and complexity of the application.
  • 27. Test Case  Test cases involve a set of steps, conditions, and inputs that can be used while performing testing tasks. The main intent of this activity is to ensure whether a software passes or fails in terms of its functionality and other aspects. There are many types of test cases such as functional, negative, error, logical test cases, physical test cases, UI test cases, etc.  However, the following components are always available and included in every test case: Test case ID Product module. Product version Revision history Purpose Assumptions Pre-conditions  Steps Expected outcome. Actual outcome Post-conditions
  • 28. Traceability Matrix  Traceability Matrix (also known as Requirement Traceability Matrix - RTM) is a table that is used to trace the requirements during the SDLC. It can be used for forward tracing (i.e. from Requirements to Design or Coding) or backward (i.e. from Coding to Requirements). There are many user-defined templates for RTM. Each requirement in the RTM document is linked with its associated test case so that testing can be done as per the mentioned requirements. Furthermore, Bug ID is also included and linked with its associated requirements and test case. The main goals for this matrix are:  Make sure the software is developed as per the mentioned requirements.  Helps in finding the root cause of any bug.  Helps in tracing the developed documents during different phases of SDLC.