ISTQB Concepts
ISTQB Concepts
ISTQB Concepts
2
SEVEN TESTİNG PRİNCİPLES
Testing shows presence of defects
Exhaustive testing is impossible
Early testing
Defect clustering
Pesticide paradox
Testing is context dependent
Absence-of-errors fallacy
3
FUNDAMENTAL TEST PROCESS
time pressure
Component Testing
Integration Testing
System Testing
Acceptance Testing 10
V-MODEL: TEST LEVELS
Business Acceptance
Requirements Testing
System System
Specification Testing
Component
Code
Testing
COMPONENT TEST PROCESS
BEGIN
Component
Test Planning
Component
Test Specification
Component
Test Execution
Component
Test Recording
Checking for
Component END
Test Completion
INTEGRATION TESTING
Tests the interface between components such as operating
systems , file system and hardware interfaces.
Beta testing :
field testing, sends the system to a cross-section of
users who install it and use it under real-world working
conditions .
The user sends the record of incidents to development
organization.
TEST TECHNİQUES
17
STATİC TECHNİQUES
Review Process
Activities of a Formal Review
Roles and Responsibilities
Types of Review
Success Factors of Reviews
Static Analysis By Tools
18
ACTİVİTİES OF A FORMAL REVİEW
Individual
Planning Kick-off
Preperation
Review
Follow-up Rework
Meeting
19
ROLES AND RESPONSIBILITIES
Moderator: The Moderator leads the review process, stores
the data and schedules the meeting.
The Author: As the writer of the document under review.
The Scribe: The scribe has to record each defect mentioned
and any suggestions for process improvement.
The Reviewers: The task of the reviewers is to check any
material for defects, mostly prior to the meeting.
The Manager: The manager is involved in the reviews as he
decides on the execution of reviews and allocates time in
project schedules and determines whether review process
objectives have been met. The manager can lay the role of
the reviewer based on his technical back ground.
20
TYPES OF REVİEW
Informal Technical
Walkthrough
Review Review
Managment
Inspection Audit
Review
21
STATİC ANALYSİS BY TOOLS
Additional defects before the code is actually run. Thus, what
is called static analysis is just another form of testing.
Experience-based Techniques
23
24
SPECİFİCATİON-BASED OR BLACK-BOX
TECHNİQUES
Equivalence Partitioning
Boundary Value Analysis
Decision Table Testing
State Transition Testing
Use Case Testing
25
EQUIVALENCE PARTITIONING (EP)
0 1 100 101
BOUNDARY VALUE ANALYSIS (BVA)
0 1 100 101
DECISION TABLES
add columns to the table for each unique
combination of input conditions.
each entry in the table may be either ‘T’ for true,
‘F’ for false.
Input Conditions
Valid username T T T T F F F F
Valid password T T F F T T F F
Account in credit T F T F T F T F
STATE TRANSITION TESTING:
Based on the machine rule , the number of states for a system
will differ from one state to another state.
29
STRUCTURE-BASED OR WHİTE-BOXTECHNİQUES
Statement Testing and Coverage
30
EXAMPLE OF STATEMENT COVERAGE
Statement Coverage = Number of Statements Exercised X 100%
---------------------------------------------
Total Number Of Statements
Read A
Read B
C=A+2*B
IF C>50 then
PRINT large C
END IF
Test 1: Let A=2 and B = 3 then C= 8
Test 2: Let A=20 and B=25 then C= 70
So with Test 2 alone we were able to achieve 100% statement
coverage 31
DECISION COVERAGE(BRANCH COVERAGE)
34
TEST ORGANISATION
Test Control:
It is about guiding and corrective actions to achieve the best
possible outcome for the project.
37
CONFIGURATION MANAGEMENT
“The process of identifying and defining the configuration
items in a system,
controlling the release and change of these items throughout
the system life cycle,
recording and reporting the status of configuration items and
change requests,
and verifying the completeness and correctness of
configuration items.”
Product and Project Risks:
39
INCIDENT MANAGEMENT
Incident: any event that occurs during testing that requires subsequent
investigation or correction.
Defect Detection Percentage = Defects (Testers)
----------------------------------------------
Defects (Testers) +Defects (Field)