03 - Test Plan - v1.0
03 - Test Plan - v1.0
© FPT Software 1
Agenda
Duration: 2 Hours
Audience: Testers
Content:
1. Test plan process
2. Test plan structure
3. Quiz
© FPT Software 2
Test Planning Framework Diagram
T
E Write Write
S Determine Quality Objectives
T T T
Select Test Approaches
E E
S Select Test Types S S
Bug Types Targeted Application Stability
T Interface Requirements
T T
R Determine Execution Test Phases
A P C
T Apply Test Design Methods/Techniques L A
E A S
Select Test Tools
G N E
Y S
© FPT Software 3
Objectives
© FPT Software 4
Test Plan Objective
© FPT Software 5
Test Plan Process
• Project plan
• Customer Test plan
requirements Test planning document
and
Acceptance
criteria
© FPT Software 6
Input of Test Plan
© FPT Software 7
Test Plan Structure
1. Introduction
2. Define requirements for test base on acceptance criteria
3. Define test strategy base on requirements for test: test
types, stage, tools
4. Define resources and responsibilities
- Define the system: hardware & software for testing
5. Define Test milestones
6. Define deliverables of test: TP, TC, TR
© FPT Software 8
Test Plan - Introduction
• Test Stage (Level): The stages in which the test will be executed
– Unit test
– Integration test
– System test
– Acceptance test
© FPT Software 10
Test Plan – Requirement for test
© FPT Software 11
Functional Requirement
© FPT Software 12
Non-functional Requirement
© FPT Software 13
Test Strategy: General
• Completion Criteria:
– Identify acceptance criteria for product quality
– Identify when the testing is successfully executed
• Special Considerations:
– Identify any influences/dependencies which may impact/ influence the
testing described in Test strategy.
– Criteria to stop testing (UT not good/meet requested Test coverage/…)
© FPT Software 14
Function Testing
© FPT Software 15
Function Testing (cont…)
© FPT Software 16
User Interface Testing
• Objective:
– Verify navigation (iE, Netscape)
– Verify using of access methods (tab keys, mouse movements,
accelerator keys)
– Window objects and characteristics, such as menus, size, position,
etc
• Technique:
– Create or modify tests for each window to verify proper navigation
and object states for each application window and objects
• Completion Criteria:
– Each window successfully verified to remain consistent with
prototype version or within acceptable standard
© FPT Software 17
Data and Database Integrity Testing
• Objective:
– Ensure database access methods and processes function properly
and without data corruption
• Technique:
– Check the returned data to ensure that the correct data was
retrieved for the correct transaction
– Check the database to ensure the data has been populated as
intended, all database events occurred properly
• Completion Criteria:
– All database access methods and processes function as designed
and without any data corruption
© FPT Software 18
Business Cycle Testing
• Objective:
– Ensure proper target-of-test and background processes function
according to required business models and schedules
• Technique:
– All functions that occur on a periodic schedule will be executed or
launched at the appropriate time
– Testing will include using valid and invalid data
– Each business rule is properly applied
© FPT Software 19
Performance Profiling
© FPT Software 20
Load Testing
• Objective:
– Verify performance behavior time for designated transactions or
business cases under varying workload conditions
• Technique:
– Use tests developed for Function or Business Cycle Testing
– Modify data files to increase the number of transactions or the
tests to increase the number of times each transaction occurs
• Completion Criteria:
– Multiple transactions or multiple users: Successful completion of
the tests without any failures and within acceptable time allocation
– Performed on a dedicated machine or at a dedicated time
© FPT Software 21
Stress Testing
© FPT Software 22
Volume Testing
• Objective:
– Test with large amounts of data to determine if limits are
reached that cause the software to fail
• Technique:
– Data and database integration
– Insert data (by manual/tools/scripts)
© FPT Software 23
Security and Access Control Testing
• Application-level Security
– Check user right: verify that an actor/user can access only those
functions or data if they have right
• System-level Security
– Verify that only those users granted access to the system are
capable of accessing the applications and only through the
appropriate gateways
– Check privilege of users
© FPT Software 24
Regression Testing
• Objective:
– Validate modified parts of the software, to make sure that the
modification does not cause errors in other parts
• Technique:
– Reuse the set of test cases from an existing test suite to test a
modified module
© FPT Software 25
Test Tool
© FPT Software 27
Test Plan - Estimation
© FPT Software 28
Metric-based Estimation
© FPT Software 29
Expert-based Estimation
© FPT Software 30
Test Estimation - Reality
© FPT Software 31
Test Estimation - Reality
• Historical Data:
– Based on effort rate of testing/project size
– Based on domain
– Based on market: different market -> different rates
– Got total effort for test
– Estimate for each tasks of test milestone
© FPT Software 32
Test Plan - Milestones
• Milestone name:
– Test planning
– Test design
– Test execution
– Test evaluation
• Effort: in person-day (pd)
• Start date
• End date
© FPT Software 33
Test Plan - Deliverables
© FPT Software 34
TP Review Checklist
© FPT Software 35
Resources & references
• Resources
– Template_Test Plan.doc
– Checklist_Test plan review.xls
• References:
– Foundations of Software Testing.pdf
– Guideline_Software Testing.pdf
– Process_Test.pdf
© FPT Software 36
QUESTIONS AND ANSWERS
© FPT Software 37