Test Plan
Test Plan
Test Plan
Example)
Test Plan
A Test Plan is a detailed document that describes the test strategy, objectives,
schedule, estimation, deliverables, and resources required to perform testing for a
software product. Test Plan helps us determine the effort needed to validate the
quality of the application under test. The test plan serves as a blueprint to conduct
software testing activities as a defined process, which is minutely monitored and
controlled by the test manager.
As per ISTQB definition: “Test Plan is A document describing the scope, approach,
resources, and schedule of intended test activities.”
Let’s start with following Test Plan example/scenario: In a meeting, you want to
discuss the Test Plan with the team members, but they are not interested – .
In such case, what will you do? Select your answer as following figure
A) I am Manager do everything as I said
Help people outside the test team such as developers, business managers,
customers understand the details of testing.
Test Plan guides our thinking. It is like a rule book, which needs to be
followed.
Important aspects like test estimation, test scope, Test
Strategy are documented in Test Plan, so it can be reviewed by
Management Team and re-used for other projects.
The product under test is Guru99 banking website. You should research clients and
the end users to know their needs and expectations from the application
Back to your project, you need to develop Test Strategy for testing that banking
website. You should follow steps below
Step 2.1) Define Scope of Testing
Before the start of any test activity, scope of the testing should be known. You must
think hard about it.
Defining the scope of your testing project is very important for all stakeholders. A
precise scope helps you
Give everyone a confidence & accurate information of the testing you are
doing
All project members will have a clear understanding about what is tested
and what is not
Now should clearly define the “in scope” and “out of scope” of the testing.
Problem Scenario
The customer wants you to test his API. But the project budget does not permit to
do so. In such a case what will you do?
Well, in such case you need to convince the customer that Api Testing is extra work
and will consume significant resources. Give him data supporting your facts. Tell
him if Api Testing is included in-scope the budget will increase by XYZ amount.
The customer agrees and accordingly the new scopes, out of scope items are
Each testing type is formulated to identify a specific type of product bugs. But, all
Testing Types are aimed at achieving one common goal “Early detection of all the
defects before releasing the product to the customer”
Now let’s practice with your project. The product you want to test is a banking
website.
In the article Risk Analysis and Solution, you have already learned about the ‘Risk’
analysis in detail and identified potential risks in the project.
Risk Mitigation
You may not know exact names of the tester who will test, but the type of
tester can be defined.
To select the right member for specified task, you have to consider if his skill is
qualified for the task or not, also estimate the project budget. Selecting wrong
member for the task may cause the project to fail or delay.
Person having the following skills is most ideal for performing software testing:
In your project, the member who will take in charge for the test execution is
the tester. Base on the project budget, you can choose in-source or outsource
member as the tester.
You will start to test when you have all required items shown in following figure
1. List all the software features (functionality, performance, GUI…) which may
need to test.
2. Define the target or the goal of the test based on above features
Let’s apply these steps to find the test objective of your Guru99 Bank testing
project
You can choose the ‘TOP-DOWN’ method to find the website’s features which may
need to test. In this method, you break down the application under test
to component and sub-component.
In the previous topic, you have already analyzed the requirement specs and walk
through the website, so you can create a Mind-Map to find the website features as
following
This figure shows all the features which the Guru99 website may have.
Based on above features, you can define the Test Objective of the project Guru99
as following
Suspension Criteria
Specify the critical suspension criteria for a test. If the suspension criteria are met
during testing, the active test cycle will be suspended until the criteria
are resolved.
Test Plan Example: If your team members report that there are 40% of test cases
failed, you should suspend testing until the development team fixes all the failed
cases.
Exit Criteria
It specifies the criteria that denote a successful completion of a test phase. The
exit criteria are the targeted results of the test and are necessary before proceeding
to the next phase of development. Example: 95% of all critical test cases must
pass.
Test Plan Example:Your Team has already done the test executions. They report
the test result to you, and they want you to confirm the Exit Criteria.
In above case, the Run rate is mandatory is 100%, but the test team only
completed 90% of test cases. It means the Run rate is not satisfied, so do NOT
confirm the Exit Criteria
The resource planning is important factor of the test planning because helps
in determining the number of resources (employee, equipment…) to be used for
the project. Therefore, the Test Manager can make the correct schedule &
estimation for the project.
This section represents the recommended resources for your project.
Human Resource
The following table represents various members in your project team
No
Member Tasks
.
No
Resources Descriptions
.
To finish this task, you need a strong cooperation between Test Team and
Development Team
You should ask the developer some questions to understand the web application
under test clearly. Here’re some recommended questions. Of course, you can ask
the other questions if you need.
What is the maximum user connection which this website can handle at the
same time?
What are hardware/software requirements to install this website?
Does the user’s computer need any particular setting to browse the website?
In the Test Estimation phase, suppose you break out the whole project into small
tasks and add the estimation for each task as below
To create the project schedule, the Test Manager needs several types of input as
below:
Employee and project deadline: The working days, the project deadline,
resource availability are the factors which affected to the schedule
Project estimation: Base on the estimation, the Test Manager knows how
long it takes to complete the project. So he can make the appropriate
project schedule
Project Risk : Understanding the risk helps Test Manager add enough extra
time to the project schedule to deal with the risks
Suppose the boss wants to complete the project Guru99 in one month, you already
estimated the effort for each tasks in Test Estimation. You can create the schedule
as below
Step 8) Test Deliverables
Test Deliverables is a list of all the documents, tools and other components that
has to be developed and maintained in support of the testing effort.
There are different test deliverables at every phase of the software development
lifecycle.
Test Scripts
Simulators.
Test Data
Test Traceability Matrix
Error logs and execution logs.
Test Results/reports
Defect Report
Installation/ Test procedures guidelines
Release notes
Resources
Download a sample Test Plan Template
Download the sample system test plan of website Guru99 Bank