SlideShare a Scribd company logo
Sergejus Bartoš
sergejus.bartos@devbridge.com
Testing: What, How, When
Where is a place for testing?
What to test?
How to test?
When to test?
Putting all together
AsWe Have Learned …
Test Analysis - Inputs
What to test – what object?
Unit / Component
System module
Entire System
Functionality
Is there something more ?
COTS
What to test – quality characteristics?
Functionality
Relia
Functionality Accuracy, Suitability, Interoperability, Security
Reliability Robustness, Fault-tolerance, Recoverability
Usability Understandability, Learnability,Operability,Attractiveness
Efficiency Performance, Resource utilization
Maintainability Analyzability,Changeability, Stability,Testability
Portability Adaptability, Installability,Co-existence, Replicability
(ISTQB Syllabus)
Test Design
How to test
(ISTQB Syllabus)
Example: BoundaryValues
Two and three value testing
String of characters (e.g. a name or address).The number of
characters in the string is between 1 and 30 characters.
The valid partition with valid boundaries of 1 and 30.
The invalid boundaries would be 0 characters (null, just hit the Return
key) and 31 characters. Both of these should produce an error
message.
Example: Equivalence partitioning
Two and three value testing
String of characters (e.g. a name or address).The number of
characters in the string is between 1 and 30 characters.
The valid partition with valid boundaries of 1 and 30.
The invalid boundaries would be 0 and 31 characters.
How many tests ?
Example: DecisionTables
If you are a new customer and you want to open a credit card account then there
are three conditions first you will get a 15% discount on all your purchases today,
second if you are an existing customer and you hold a loyalty card, you get a
10% discount and third if you have a coupon, you can get 20% off today (but it
can’t be used with the ‘new customer’ discount). Discount amounts are added, if
applicable.
http://istqbexamcertification.com/what-is-decision-table-in-software-testing/
Example: StateTransition
http://istqbexamcertification.com/what-is-state-transition-testing-in-software-testing/
Test Design and Implementation
What =What quality attributes of what testing object ?
Function
ality
Reliability Usability Efficiency Maintaina
bility
Portability
Unit
Module
System
COTS
Scope ofTesting
What + How = scope of testing for test objects.
Testing Strategy
Testing Handbook
Test Strategy
What + How = almost readyTESTING STRATEGY
0
10
20
30
40
50
60
70
80
90
100
Module 1
Functionality
Module 2
Functionality
System
Functionality
System
Performance
System Usability
RequiredTests
Test Planning
0
10
20
30
40
50
60
70
80
90
100
Module 1
Functionality
Module 2
Functionality
System
Functionality
System
Performance
System
Usability
Tests required for “whats” - scope
Unit / ComponentTesting
Integration Testing
Deployment / Installation Testing
“SmokeTesting”
SystemTesting
End-To-End Testing
Performance Testing
Regression Testing
Acceptance Testing
Maintenance Testing
What + How + When + Who = almost readyTESTING PLAN
When to test (test phases) ?
Unit / ComponentTesting
IntegrationTesting
Deployment / InstallationTesting
“SmokeTesting”
SystemTesting
End-To-EndTesting
PerformanceTesting
RegressionTesting
AcceptanceTesting
MaintenanceTesting
Test Planning andTest Execution
What + How + When = almost readyTESTING PLAN
0
50
100
150
200
250
Unit Integration Smoke System End-to-End Regession Acceptance
Module 1 Functionality Module 2 Functionality System Functionality System Perfomance System Usability
Few more words aboutTesting Plan
Some people think they don’t need it.
For those who might need:
How you manageTest environments
How you manage Defects
How do you know you are done with testing, are you ready
to release
How many people you need and when
How much hardware and software you need and when
“Quality is never an accident; it is always the result of
intelligent effort.” – John Ruskin

More Related Content

PPTX
4th lecture on Software Testing given to KTU students.
PPTX
Introduction to Testing Industry
PDF
Jean Paul Varwijk - Discussing the Future of Software Testing - EuroSTAR 2013
PPTX
Testing Types and Paradigms - 2015-07-13 - V11
DOC
Ôn tập kiến thức ISTQB
PPTX
Testing 3 test design techniques
PPT
ISTQB, ISEB Lecture Notes
PPTX
ISTQB Test level, Test type
4th lecture on Software Testing given to KTU students.
Introduction to Testing Industry
Jean Paul Varwijk - Discussing the Future of Software Testing - EuroSTAR 2013
Testing Types and Paradigms - 2015-07-13 - V11
Ôn tập kiến thức ISTQB
Testing 3 test design techniques
ISTQB, ISEB Lecture Notes
ISTQB Test level, Test type

What's hot (19)

PPTX
Rekno widyawati
PPTX
ISTQB Test Process
PDF
VLSI testing and analysis
PDF
Manual testing
PPT
<p>Software Testing</p>
PDF
Istqb lesson1
PDF
Speeding-up Software Testing With Computational Intelligence
PPT
Experiments on Design Pattern Discovery
PPTX
ISTQB Eğitim Sunumu
PDF
Exactpro FinTech Webinar - Global Exchanges Test Oracles
PDF
VST2022.pdf
PPTX
Software Testing 1/5
DOC
SEP-07 ISTQB PAPER
PPT
Complexity Measures for Secure Service-Orieted Software Architectures
PPTX
QA Financial Forum London 2021 - Automation in Software Testing. Humans and C...
PDF
Case Studies in Terrible Testing
PPT
NGTEST_Presentation
PPT
NG_TEST_SR_Presentation
DOCX
IEEE 2014 DOTNET DATA MINING PROJECTS Product aspect-ranking-and--its-applica...
Rekno widyawati
ISTQB Test Process
VLSI testing and analysis
Manual testing
<p>Software Testing</p>
Istqb lesson1
Speeding-up Software Testing With Computational Intelligence
Experiments on Design Pattern Discovery
ISTQB Eğitim Sunumu
Exactpro FinTech Webinar - Global Exchanges Test Oracles
VST2022.pdf
Software Testing 1/5
SEP-07 ISTQB PAPER
Complexity Measures for Secure Service-Orieted Software Architectures
QA Financial Forum London 2021 - Automation in Software Testing. Humans and C...
Case Studies in Terrible Testing
NGTEST_Presentation
NG_TEST_SR_Presentation
IEEE 2014 DOTNET DATA MINING PROJECTS Product aspect-ranking-and--its-applica...
Ad

Similar to 3rd lecture on Software Testing given to KTU students. (20)

PPTX
A Software Testing Intro
PPTX
Test design
PDF
ISTQB - CTFL Summary v1.0
PPTX
Software Testing (1).pptx
PPTX
PPTX
Software testing career 20180929 update
PPT
Testing.ppt
PPT
Testing.ppt
PPT
Testing.ppt
PPT
Testing
PPTX
Software testing career
PPT
Testing.ppt
PPTX
Software testing basic
PPTX
Testing concepts
PPT
Manual testing - Introduction to Manual Software testing
PPT
ISTQBCH2.ppt
PPT
ISTQBCH2.ppt
PPT
Software test management
PPT
Manual testing concepts course 1
PDF
Identifying and Executing the Most Critical Tests
A Software Testing Intro
Test design
ISTQB - CTFL Summary v1.0
Software Testing (1).pptx
Software testing career 20180929 update
Testing.ppt
Testing.ppt
Testing.ppt
Testing
Software testing career
Testing.ppt
Software testing basic
Testing concepts
Manual testing - Introduction to Manual Software testing
ISTQBCH2.ppt
ISTQBCH2.ppt
Software test management
Manual testing concepts course 1
Identifying and Executing the Most Critical Tests
Ad

Recently uploaded (20)

PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
August Patch Tuesday
PPTX
The various Industrial Revolutions .pptx
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PPTX
1. Introduction to Computer Programming.pptx
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
TLE Review Electricity (Electricity).pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Architecture types and enterprise applications.pdf
PDF
project resource management chapter-09.pdf
PDF
Getting Started with Data Integration: FME Form 101
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
Chapter 5: Probability Theory and Statistics
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
August Patch Tuesday
The various Industrial Revolutions .pptx
A contest of sentiment analysis: k-nearest neighbor versus neural network
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
1. Introduction to Computer Programming.pptx
Module 1.ppt Iot fundamentals and Architecture
Enhancing emotion recognition model for a student engagement use case through...
A novel scalable deep ensemble learning framework for big data classification...
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
TLE Review Electricity (Electricity).pptx
NewMind AI Weekly Chronicles - August'25-Week II
Developing a website for English-speaking practice to English as a foreign la...
Zenith AI: Advanced Artificial Intelligence
Architecture types and enterprise applications.pdf
project resource management chapter-09.pdf
Getting Started with Data Integration: FME Form 101
DP Operators-handbook-extract for the Mautical Institute
Chapter 5: Probability Theory and Statistics

3rd lecture on Software Testing given to KTU students.

  • 2. Where is a place for testing? What to test? How to test? When to test? Putting all together
  • 5. What to test – what object? Unit / Component System module Entire System Functionality Is there something more ? COTS
  • 6. What to test – quality characteristics? Functionality Relia Functionality Accuracy, Suitability, Interoperability, Security Reliability Robustness, Fault-tolerance, Recoverability Usability Understandability, Learnability,Operability,Attractiveness Efficiency Performance, Resource utilization Maintainability Analyzability,Changeability, Stability,Testability Portability Adaptability, Installability,Co-existence, Replicability (ISTQB Syllabus)
  • 7. Test Design How to test (ISTQB Syllabus)
  • 8. Example: BoundaryValues Two and three value testing String of characters (e.g. a name or address).The number of characters in the string is between 1 and 30 characters. The valid partition with valid boundaries of 1 and 30. The invalid boundaries would be 0 characters (null, just hit the Return key) and 31 characters. Both of these should produce an error message.
  • 9. Example: Equivalence partitioning Two and three value testing String of characters (e.g. a name or address).The number of characters in the string is between 1 and 30 characters. The valid partition with valid boundaries of 1 and 30. The invalid boundaries would be 0 and 31 characters. How many tests ?
  • 10. Example: DecisionTables If you are a new customer and you want to open a credit card account then there are three conditions first you will get a 15% discount on all your purchases today, second if you are an existing customer and you hold a loyalty card, you get a 10% discount and third if you have a coupon, you can get 20% off today (but it can’t be used with the ‘new customer’ discount). Discount amounts are added, if applicable. http://istqbexamcertification.com/what-is-decision-table-in-software-testing/
  • 12. Test Design and Implementation What =What quality attributes of what testing object ? Function ality Reliability Usability Efficiency Maintaina bility Portability Unit Module System COTS
  • 13. Scope ofTesting What + How = scope of testing for test objects. Testing Strategy Testing Handbook
  • 14. Test Strategy What + How = almost readyTESTING STRATEGY 0 10 20 30 40 50 60 70 80 90 100 Module 1 Functionality Module 2 Functionality System Functionality System Performance System Usability RequiredTests
  • 15. Test Planning 0 10 20 30 40 50 60 70 80 90 100 Module 1 Functionality Module 2 Functionality System Functionality System Performance System Usability Tests required for “whats” - scope Unit / ComponentTesting Integration Testing Deployment / Installation Testing “SmokeTesting” SystemTesting End-To-End Testing Performance Testing Regression Testing Acceptance Testing Maintenance Testing What + How + When + Who = almost readyTESTING PLAN
  • 16. When to test (test phases) ? Unit / ComponentTesting IntegrationTesting Deployment / InstallationTesting “SmokeTesting” SystemTesting End-To-EndTesting PerformanceTesting RegressionTesting AcceptanceTesting MaintenanceTesting
  • 17. Test Planning andTest Execution What + How + When = almost readyTESTING PLAN 0 50 100 150 200 250 Unit Integration Smoke System End-to-End Regession Acceptance Module 1 Functionality Module 2 Functionality System Functionality System Perfomance System Usability
  • 18. Few more words aboutTesting Plan Some people think they don’t need it. For those who might need: How you manageTest environments How you manage Defects How do you know you are done with testing, are you ready to release How many people you need and when How much hardware and software you need and when
  • 19. “Quality is never an accident; it is always the result of intelligent effort.” – John Ruskin

Editor's Notes

  • #7: Robustness -  is the ability of a computer system to cope with errors during execution.  An app is fault-tolerant when it can work consistently in an inconsistent environment. A database application is fault-tolerant when it can access an alternate shard when the primary is unavailable Understandability: the capability of the component to enable the user (system developer) to understand whether the component is suitable, and how it can be used for particular tasks and conditions of use. Learnability: the capability of the software component to enable the user (system developer) to learn the application. For example, the user documentation and the help system should be complete, the help should be context sensitive and explain how to achieve common tasks, etc. Operability: the capability of the software component to enable the user (system developer) to operate and control it. An operability metric should be able to assess whether system developers can operate and control the component. Attractiveness: the capability of the software component to be attractive to the user. Since the users we consider are not end-users, this