标签:box tables ble down make rate eps fail resource
A TEST PLAN is a detailed document that describes the test strategy, objectives, schedule, estimation and deliverables and resources required for testing. 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.
Let’s start with following 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
Making Test Plan has multiple benefits
You already know that making a Test Plan is the most important task of Test Management Process. Follow the seven steps below to create a test plan as per IEEE 829
How can you test a product without any information about it? The answer is Impossible. You must learn a product thoroughly before testing it.
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
You can use the following approach to analyze the site
Now let’s apply above knowledge to a real product: Analyze the banking website http://demo.guru99.com/V4.
You should take a look around this website and also review product documentation. Review of product documentation helps you to understand all the features of the website as well as how to use it. If you are unclear on any items, you might interview customer, developer, designer to get more information.
Test Strategy is a critical step in making a Test Plan. A Test Strategy document, is a high-level document, which is usually developed by Test Manager. This document defines:
Back to your project, you need to develop Test Strategy for testing that banking website. You should follow steps below
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
How do you determine scope your project?
To determine scope, you must –
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
A Testing Type is a standard test procedure that gives an expected test outcome.
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”
The commonly used testing types are described as following figure
There are tons of Testing Types for testing software product. Your team cannot have enough efforts to handle all kind of testing. As Test Manager, you must set priority of the Testing Types
Risk is future’s uncertain event with a probability of occurrence and a potential for loss. When the risk actually happens, it becomes the ‘issue’.
In the article Risk Analysis and Solution, you have already learned about the ‘Risk’ analysis in detail and identified potential risks in the project.
In the QA Test Plan, you will document those risks
Risk | Mitigation |
---|---|
Team member lack the required skills for website testing. | Plan training course to skill up your members |
The project schedule is too tight; it‘s hard to complete this project on time | Set Test Priority for each of the test activity. |
Test Manager has poor management skill | Plan leadership training for manager |
A lack of cooperation negatively affects your employees‘ productivity | Encourage each team member in his task, and inspirethem to greater efforts. |
Wrong budget estimate and cost overruns | Establish the scope before beginning work, pay a lot of attention to project planning and constantly track and measure the progress |
In Test Logistics, the Test Manager should answer the following questions:
Who will test?
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.
When will the test occur?
Test activities must be matched with associated development activities.
You will start to test when you have all required items shown in following figure
Test Objective is the overall goal and achievement of the test execution. The objective of the testing is finding as many software defects as possible; ensure that the software under test is bug free before release.
To define the test objectives, you should do 2 following steps
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
Test Criteria is a standard or rule on which a test procedure or test judgment can be based. There’re 2 types of test criteria as following
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.
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.
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.
Some methods of defining exit criteria are by specifying a targeted run rate and pass rate.
This data can be retrieved in Test Metric documents.
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
Resource plan is a detailed summary of all types of resources required to complete project task. Resource could be human, equipment and materials needed to complete a project
The resource planning is important factor of the test planning because helps in determiningthe 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.
The following table represents various members in your project team
No. |
Member |
Tasks |
---|---|---|
1. |
Test Manager |
Manage the whole project Define project directions Acquire appropriate resources |
2. |
Tester |
Identifying and describing appropriate test techniques/tools/automation architecture Verify and assess the Test Approach Execute the tests, Log results, Report the defects. Tester could be in-sourced or out-sourced members, base on the project budget For the task which required low skill, I recommend you choose outsourced members to save project cost. |
3. |
Developer in Test |
Implement the test cases, test program, test suite etc. |
4. |
Test Administrator |
Builds up and ensures Test Environment and assets are managedand maintained SupportTester to use the test environment for test execution |
5. |
SQA members |
Take in charge of quality assurance Check to confirm whether the testing process is meeting specified requirements |
For testing, a web application, you should plan the resources as following tables:
No. |
Resources |
Descriptions |
---|---|---|
1. |
Server |
Install the web application under test This includes a separate web server, database server, and application server if applicable |
2. |
Test tool |
The testing tool is to automate the testing, simulate the user operation, generate the test results There are tons of test tools you can use for this project such as Selenium, QTP…etc. |
3. |
Network |
You need a Network include LAN and Internet to simulate the real business and user environment |
4. |
Computer |
The PC which users often use to connect the web server |
A testing environment is a setup of software and hardware on which the testing team is going to execute test cases. The test environment consists of real business and userenvironment, as well as physical environments, such as server, front end running environment.
Back to your project, how do you set up test environment for this banking website?
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.
Following figure describes the test environment of the banking website www.demo.guru99.com/V4
In the article Test estimation, you already used some techniques to estimate the effort to complete the project. Now you should include that estimation as well as the schedule to the Test Planning
In the Test Estimation phase, suppose you break out the whole project into small tasks and add the estimation for each task as below
Task |
Members |
Estimate effort |
---|---|---|
Create the test specification |
Test Designer |
170 man-hour |
Perform Test Execution |
Tester, Test Administrator |
80 man-hour |
Test Report |
Tester |
10 man-hour |
Test Delivery |
|
20 man-hour |
Total |
|
280 man-hour |
Then you create the schedule to complete these tasks.
Making schedule is a common term in project management. By creating a solid schedule in the Test Planning, the Test Manager can use it as tool for monitoring the project progress, control the cost overruns.
To create the project schedule, the Test Manager needs several types of input as below:
Let’s practice with an example:
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
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 deliverables are provided before testing phase.
Test deliverables are provided during the testing
Test deliverables are provided after the testing cycles is over.
标签:box tables ble down make rate eps fail resource
原文地址:https://www.cnblogs.com/maisha/p/12287252.html