Professional Documents
Culture Documents
Testing Throughout The Software Development Lifecycle: C2 - Restricted Diffuson
Testing Throughout The Software Development Lifecycle: C2 - Restricted Diffuson
Testing Throughout The Software Development Lifecycle: C2 - Restricted Diffuson
Software Development
Lifecycle
- C2 – RESTRICTED DIFFUSON - - 1 - DIFFUSON -
- C2 – RESTRICTED
SOFTWARE DEVELOPMENT
LIFECYCLE MODEL
TEST LEVELS
TEST TYPES
MAINTENANCE
TESTING
- C2 – RESTRICTED DIFFUSON - - 2 -
SOFTWARE
DEVELOPMEN
T LIFECYCLE
MODELS
- C2 – RESTRICTED DIFFUSON - - 3 -
COMMON SOFTWARE DEVELOPMENT
LIFECYCLE MODELS
- C2 – RESTRICTED DIFFUSON - - 4 -
WATERFALL
- C2 – RESTRICTED DIFFUSON - - 5 -
V-MODEL
- C2 – RESTRICTED DIFFUSON - - 6 -
ITERATIVE DEVELOPMENT
- C2 – RESTRICTED DIFFUSON - - 7 -
TEST
LEVELS
- C2 – RESTRICTED DIFFUSON - - 8 -
TEST LEVELS
- C2 – RESTRICTED DIFFUSON - - 9 -
COMPONENT TESTING
• Purpose:
• Component testing verify that each unit of a software work as expected or not
• Code follows detailed design o Detect defect and issue early
• Ensure quality of each unit (reduce effort of testing and fixing bugs)
• Input
• Component requirements
• Detailed design
• Code
- C2 – RESTRICTED DIFFUSON - - 1 0 -
COMPONENT TESTING
- C2 – RESTRICTED DIFFUSON - - 11 -
INTEGRATION TESTING
Purpose: • Input
Integration testing focuses testing • High level design (software and
system design)
interfaces between components,
• Architecture
interactions with different parts of
• Work-flow
system such as operating system,
• User cases
file system and hardware, interfaces
between system
- C2 – RESTRICTED DIFFUSON - - 1 2 -
INTEGRATION TESTING
- C2 – RESTRICTED DIFFUSON - - 1 3 -
INTEGRATION TESTING
• Approach:
• Bigbang
• Incremental
- C2 – RESTRICTED DIFFUSON - - 1 4 -
INTEGRATION TESTING
- C2 – RESTRICTED DIFFUSON - - 1 5 -
INTEGRATION TESTING
- C2 – RESTRICTED DIFFUSON - - 1 6 -
SYSTEM TESTING
- C2 – RESTRICTED DIFFUSON - - 1 7 -
ACCEPTANCE TESTING (AT)
• Purpose
• To establish confidence in the system, part of the system or specific non-
functional characteristics of the system and access the system readiness for
deployment and use
• Validation is focused to determine: Are requirements enough? Is system fit
for user’s needs?
• Types:
• User AT
• Operational testing
• Contract and regulation AT
• Alpha/Beta testing
- C2 – RESTRICTED DIFFUSON - - 1 8 -
ACCEPTANCE TESTING (AT) - TYPES
- C2 – RESTRICTED DIFFUSON - - 1 9 -
TEST TYPES
- C2 – RESTRICTED DIFFUSON - - 2 0 -
TEST TYPES
Test Types
- C2 – RESTRICTED DIFFUSON - - 2 1 -
FUNCTIONAL TESTING
• Functional testing can be used in every levels: Unit test, Integration test,
System test, Acceptance test
- C2 – RESTRICTED DIFFUSON - - 2 2 -
FUNCTIONAL TESTING
- C2 – RESTRICTED DIFFUSON - - 2 3 -
NON-FUNCTIONAL TESTING
- C2 – RESTRICTED DIFFUSON - - 2 4 -
NON-FUNCTIONAL TESTING
- C2 – RESTRICTED DIFFUSON - - 2 5 -
NON-FUNCTIONAL TESTING
- C2 – RESTRICTED DIFFUSON - - 2 6 -
NON-FUNCTIONAL TESTING
• Performance testing:
• Tests the performance of a system under normal load conditions
• Standard conditions:
• Standard environment
• Standard input data
• Standard process (user’s action)
• The response time of an individual transition is a typical performance
requirement
- C2 – RESTRICTED DIFFUSON - - 2 7 -
NON-FUNCTIONAL TESTING
• Load testing:
• Tests the system’s ability to perform more than one function at a time
• Associated with more than one user using the system
Example: 1000 users trying to buy tickets to Ha Anh Tuan’s concert at the same
time
- C2 – RESTRICTED DIFFUSON - - 2 8 -
NON-FUNCTIONAL TESTING
• Stress testing:
• Tests the performance of a system under abnormal conditions to:
• Determine how the performance of the system degrades as the system loading is
increased
• Determine the manner in which the system ultimately fails when the system load
exceeds it capacity
• Volume testing: Test with large amounts of data to determine if limits
are reached that cause the software to fail (one kind of stress testing)
- C2 – RESTRICTED DIFFUSON - - 2 9 -
NON-FUNCTIONAL TESTING
• Recovery testing:
• Tests that the system can be recovered in the event of a failure
• Types of failure that as system may need to recover from include:
• Program errors
• Hardware failures (power failure, etc.)
• Transmission errors ( noise, line disconnected, etc.)
• Data errors
- C2 – RESTRICTED DIFFUSON - - 3 0 -
STRUCTURE TESTING
• Structure testing may be performed at all test levels (mostly used for
component testing and component integration testing)
- C2 – RESTRICTED DIFFUSON - - 3 1 -
TESTING RELATED TO CHANGES
- C2 – RESTRICTED DIFFUSON - - 3 2 -
TESTING RELATED TO CHANGES
- C2 – RESTRICTED DIFFUSON - - 3 3 -
MAINTENANCE
TESTING
- C2 – RESTRICTED DIFFUSON - - 3 4 -
MAINTENANCE TESTING
- C2 – RESTRICTED DIFFUSON - - 3 5 -
MAINTENANCE TESTING
- C2 – RESTRICTED DIFFUSON - - 3 6 -
MAINTENANCE TESTING
- C2 – RESTRICTED DIFFUSON - - 3 7 -
MAINTENANCE TESTING
• Modifications include:
• Enhancement changes
• Emergency changes
• Correction (fix bug)
• Changes of environment/upgrade data/upgrade OS
• Modification is the most common trigger
- C2 – RESTRICTED DIFFUSON - - 3 8 -
MAINTENANCE TESTING
- C2 – RESTRICTED DIFFUSON - - 3 9 -
MAINTENANCE TESTING
Impact analysis and regression testing
- C2 – RESTRICTED DIFFUSON - - 4 0 -
MAINTENANCE TESTING
- C2 – RESTRICTED DIFFUSON - - 4 1 -