Levels of Testing
Levels of Testing
Unit -3
LEVELS OF TESTING
Dr.j.frank vijay
Professor – it Department
UNIT - 3
LEVELS OF TESTING 09
The need for Levels of Testing – Unit Test – Unit Test Planning – Designing the Unit Tests – The Test
Harness – Running the Unit tests and Recording results – Integration tests – Designing Integration Tests –
Integration Test Planning – Scenario testing – Defect bash elimination System Testing – Acceptance
testing – Performance testing – Regression Testing – Internationalization testing – Ad-hoc testing – Alpha,
Beta Tests – Testing OO systems – Usability and Accessibility testing – Configuration testing –
Compatibility testing – Testing the documentation – Website testing.
2
Course Outcomes
K2
Bloom’s Taxonomy
Lecture - 07
OUTLINE
LEVELS OF TESTING
Unit - 3
7
OUTLINE
The need for Levels of Testing – Unit Test – Unit Test Planning –
Designing the Unit Tests – The Test Harness – Running the Unit
tests and Recording results – Integration tests – Designing
Integration Tests – Integration Test Planning – Scenario testing –
Defect bash elimination System Testing – Acceptance testing – Chapter – 6
Performance testing – Regression Testing – Internationalization
testing – Ad-hoc testing – Alpha, Beta Tests – Testing OO
systems – Usability and Accessibility testing – Configuration
testing –Compatibility testing – Testing the documentation –
Website testing.
LEVELS OF TESTING
9
Testing Steps
Design System Other Customer User
Unit code
Unit
test specifications functional software requirements environment
requirements requirements specification
Unit code
Unit
test
.
. Integration Function Performance Acceptance Installation
test test test test test
.
test SYSTEM
IN USE!
10
CHAPTER - 6
UNIT TESTING
11
CHAPTER - 6
UNIT TESTING
12
LEVELS OF TESTING
UNIT TESTING
13
LEVELS OF TESTING
UNIT TESTING
14
LEVELS OF TESTING
UNIT TESTING
15
Unit Testing Techniques
UNIT TESTING T e s tin g Te c h n iq u e s
S ta tic T e c h n iq u e s D yn a m ic T e c h n iq u e s
P ro g ra m P ro v in g
E q u iva le n c e P a rtitio n in g B a s ic P a th T e s tin g
C a u se -E ffe c t G ra p h in g
R a n d o m Te s tin g
16
LEVELS OF TESTING
UNIT TESTING
17
LEVELS OF TESTING
UNIT TESTING
18
LEVELS OF TESTING
UNIT TESTING
19
LEVELS OF TESTING
UNIT TESTING
20
LEVELS OF TESTING
UNIT TESTING
21
LEVELS OF TESTING
UNIT TESTING
22
LEVELS OF TESTING
UNIT TESTING
23
LEVELS OF TESTING
UNIT TESTING
24
LEVELS OF TESTING
UNIT TESTING
25
LEVELS OF TESTING
UNIT TESTING
26
LEVELS OF TESTING
UNIT TESTING
27
LEVELS OF TESTING
UNIT TESTING
28
LEVELS OF TESTING
UNIT TESTING
29
LEVELS OF TESTING
UNIT TESTING
30
LEVELS OF TESTING
UNIT TESTING
31
LEVELS OF TESTING
UNIT TESTING
32
LEVELS OF TESTING
UNIT TESTING
33
LEVELS OF TESTING
UNIT TESTING
34
LEVELS OF TESTING
UNIT TESTING
35
LEVELS OF TESTING
UNIT TESTING
36
LEVELS OF TESTING
UNIT TESTING
37
LEVELS OF TESTING
UNIT TESTING
38
LEVELS OF TESTING
UNIT TESTING
39
LEVELS OF TESTING
UNIT TESTING
40
LEVELS OF TESTING
UNIT TESTING
41
LEVELS OF TESTING
UNIT TESTING
42
LEVELS OF TESTING
UNIT TESTING
43
LEVELS OF TESTING
INTEGRATION TESTING
44
LEVELS OF TESTING
INTEGRATION TESTING
45
LEVELS OF TESTING
INTEGRATION TESTING
46
LEVELS OF TESTING
INTEGRATION TESTING
47
LEVELS OF TESTING
INTEGRATION TESTING
48
LEVELS OF TESTING
INTEGRATION TESTING
49
LEVELS OF TESTING
INTEGRATION TESTING
50
LEVELS OF TESTING
INTEGRATION TESTING
51
LEVELS OF TESTING
INTEGRATION TESTING
52
LEVELS OF TESTING
INTEGRATION TESTING
53
LEVELS OF TESTING
INTEGRATION TESTING
54
LEVELS OF TESTING
INTEGRATION TESTING
55
LEVELS OF TESTING
INTEGRATION TESTING
56
LEVELS OF TESTING
INTEGRATION TESTING
57
LEVELS OF TESTING
INTEGRATION TESTING
58
LEVELS OF TESTING
INTEGRATION TESTING
59
LEVELS OF TESTING
INTEGRATION TESTING
60
LEVELS OF TESTING
INTEGRATION TESTING
61
LEVELS OF TESTING
INTEGRATION TESTING
62
LEVELS OF TESTING
INTEGRATION TESTING
63
LEVELS OF TESTING
SCENARIO TESTING
64
LEVELS OF TESTING
SCENARIO TESTING
65
LEVELS OF TESTING
SCENARIO TESTING
66
LEVELS OF TESTING
SCENARIO TESTING
67
LEVELS OF TESTING
SCENARIO TESTING
68
LEVELS OF TESTING
SCENARIO TESTING
69
LEVELS OF TESTING
SCENARIO TESTING
70
LEVELS OF TESTING
SCENARIO TESTING
71
LEVELS OF TESTING
SCENARIO TESTING
72
LEVELS OF TESTING
SCENARIO TESTING
73
LEVELS OF TESTING
SCENARIO TESTING
74
LEVELS OF TESTING
DEFECT BASH
ELIMINATION
75
LEVELS OF TESTING
DEFECT BASH
ELIMINATION
76
LEVELS OF TESTING
DEFECT BASH
ELIMINATION
77
LEVELS OF TESTING
DEFECT BASH
ELIMINATION
78
LEVELS OF TESTING
SYSTEM TESTING
79
System Testing
80
System Testing
◉ Functional Testing
◉ Structure Testing
◉ Performance Testing
◉ Acceptance Testing
◉ Installation Testing
81
Functional Testing
.
Essentially the same as black box testing
◉ Goal: Test functionality of system
◉ Test cases are designed from the requirements analysis document (better
user manual) and centered around requirements and key functions (use
cases)
. What’s in a use case?
What do we test
83
LEVELS OF TESTING
PERFORMANCE
TESTING
84
Performance Testing
◉ Stress Testing
○ Stress limits of system (maximum # of ◉ Timing testing
users, peak demands, extended operation) ○ Evaluate response times and time to
perform a function
◉ Volume testing
○ Test what happens if large amounts of data ◉ Environmental test
are handled ○ Test tolerances for heat, humidity,
motion, portability
◉ Configuration testing
○ Test the various software and hardware ◉ Quality testing
configurations ○ Test reliability, maintain- ability &
availability of the system
◉ Compatibility test
○ Test backward compatibility with existing ◉ Recovery testing
systems ○ Tests system’s response to presence
of errors or loss of data.
◉ Security testing
○ Try to violate security requirements ◉ Human factors testing
○ Tests user interface with user
85
Performance vs. Load vs. Stress testing
86
Performance testing
87
Load Testing
88
Examples of Load Testing
89
Stress Testing (1)
90
Stress Testing (2)
91
Test Cases for Performance Testing
93
Objectives of Configuration Testing
94
Configuration Testing Operations
95
Security Testing
96
Recovery Testing
97
Recovery Testing – Focus Areas
98
LEVELS OF TESTING
ACCEPTANCE
TESTING
99
LEVELS OF TESTING
ACCEPTANCE
TESTING
100
LEVELS OF TESTING
ACCEPTANCE
TESTING
101
LEVELS OF TESTING
ACCEPTANCE
TESTING
102
Acceptance Testing
103
LEVELS OF TESTING
REGRESSION
TESTING
104
LEVELS OF TESTING
REGRESSION
TESTING
105
Testing has its own Life Cycle
106
THANK
YOU
107