Chapter 2: Testing Throughout The Software Developement Lifecycle
Chapter 2: Testing Throughout The Software Developement Lifecycle
Chapter 2: Testing Throughout The Software Developement Lifecycle
[email protected]
2
Introduction
Requirements
Design Coding Test
Analysis
3
Outline and Learning Objectives
Part 5: Quizz
4
Outline and Learning Objectives
Learning Objectives:
LO-2.1.1 Explain the relationships between software development activities and test
activities in the software development lifecycle (K2)
LO-2.1.2 Identify reasons why software development lifecycle models must be adapted to
the context of project and product characteristics (K1)
LO-2.1.3 Recall characteristics of good testing that are applicable to any life cycle model
(K1)
5
Waterfall model
6
Incremental model [V-Model : Test Levels]
Business Acceptance
Requirements Testing
System System
Specification Testing
Component
Code
Testing
7
Incremental model [V-Model : Late test design]
Tests
Business Acceptance
Requirements Testing
Tests
Project “We don’t have Integration Testing
Specification in the Large
time to design
tests early” Tests
System System
Specification Testing
Tests
Design Integration Testing
Specification in the Small
Tests
Component
Code Design
Testing
Tests?
8
Incremental model [V-Model : Early test design]
Tests Tests
Business Acceptance
Requirements Testing
Tests Tests
Project Integration Testing
Specification in the Large
Tests Tests
System System
Specification Testing
Tests Tests
Design Integration Testing
Specification in the Small
Tests Tests
Component
Design Code Run
Testing
Tests Tests
9
Iterative model (Agile)
10
Iterative model (Agile)
Learning Objectives:
LO-2.2.1 Compare the different test levels from the perspective of objectives, test basis, test
objects, typical defects and failures, and approaches and responsibilities (K2)
13
Test Levels
Specific objectives
Test basis, referenced to derive test cases
Test object (i.e., what is being tested)
Typical defects and failures
Specific approaches and responsibilities
14
Test Levels
Acceptance
Test
System Test
Integration Test
Integration (Test
strategies: Top/Down or High / Low level of design White box developer
Test levels
Down/Top or BigBang)
Acceptance Alpha testing: pre-release: performed at the developing organization’s site but not by
developing team
LO-2.3.2 Recognize that functional and structural tests occur at any test level (K1)
LO-2.3.3 Recognize that functional, non-functional and white-box tests occur at any test
level (K1)
LO-2.3.4 Compare the purposes of confirmation testing and regression testing (K2)
19
Test Types
Test
activities
Test
activities
20
Test Types
Objectives include :
Objectives include :
Functional testing
White box testing
Change related
Non functional
testing
testing
23
Test Types : Functional Testing (1/2)
Functional tests should be performed at all test levels (e.g., tests for
components may be based on a component specification)
24
Test Types : Functional Testing
Example
Following testing should consider in non-functional testing types:
Availability Testing Interoperability Testing
Compatibility testing Installation Testing
Configuration Testing Load testing
Documentation testing Localization testing and
Endurance testing Internationalization testing
27
Test Types : Non-Functional Testing (3/3)
Maintainability Testing
Operational Readiness Testing
Performance testing
Recovery testing
Reliability Testing
Security testing
Scalability testing
Stress testing
Usability testing
Volume testing
black-box test technique [Glossary P2]
Migration, such as from one platform to another, which can require operational
tests of the new environment as well as of the changed software, or tests of
data conversion when data from another application will be migrated into the
system being maintained
Impact analysis
what could this change have an impact on?
how important is a fault in the impacted area?
test what has been affected, but how much?
most important affected areas?
areas most likely to be affected?
whole system?
Retirement of the
software
Impact analysis Regression testing
37
Outline and Learning Objectives
Part 5: Quizz
38
Q 1 : Recognize that functional, non-functional and white-box tests occur at any T.level