Unit - III Test Management
Unit - III Test Management
Test Management
TEST PLANNING
WHAT IS A TEST PLAN?
-- A test plan is a detailed document that outlines the test strategy,
testing objectives, resources (manpower, software, hardware) required for
testing, test schedule, test estimation and test deliverables(meaning
output/result).
3. Test Plan guides our thinking. It is like a rule book, which needs to be
followed.
4. 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.
Test Planning steps:
-- The test plan acts as the anchor for the execution, tracking and reporting
of the entire testing project.
5. Risks that may be faced in all of the above with appropriate mitigation and
contingency plans.
-- One single test plan can be prepared to cover all phases or there can be
separate plans for each phase.
-- For example-- there needs to be plans for unit testing, integration testing,
performance testing, acceptance testing and so on.
-- If there are multiple test plans, there should be one test plan, which covers
the activities common for all plans. This is called the master test plan.
2. DECIDING TEST APPROACH / STRATEGY
1. The test strategy identifies the right type of test for each of the feature.
-- What type of testing would you use for testing the functionality?
1. Ensure there is clear accountability for a given task, sothat each person
knows what he or she has to do
-- Role definition should not only address technical roles, but also list the
management and reporting responsibilities.
-- This includes frequency, format and recipients of status reports and other
project-tracking mechanism.
-- People are assigned to tasks that achieve the best possible fit between the
requirements of the job and skills and experience levels needed to perform
that function.
-- It may not always be possible to find the perfect fit between the
requirements and the skills available.
-- In case there are gaps between the requirements and availability of skills,
they should be addressed with appropriate training programs.
-- It is important to plan for such training programs upfront as they are usually
are deprioritized under project pressures.
5. IDENTIFYING RESOURCE REQUIREMENT
As a part of planning for a testing project, the project / test manager should
provide estimates for the various hardware and software resources required.
Some of the following factors need to be considered.
-- The test plan also identifies the deliverables that should come out of the
testing activity. The deliverables include the following:
1. The test plan itself (master test plan, various other test plans for the project)
3. Test cases
4. Test logs
6. Defect repository
-- A defect repository gives the status of the defects reported in a product life
cycle
-- Defect repository includes entering new defects in the repository and updating
the status of the defect fixes after verification.
7. Testing tasks: size and effort estimation
1. Size estimation
2. Effort estimation
3. Schedule estimation
1. Size estimation--
---if the test architecture has been designed keeping reuse in mind,
then the effort required to cover a given size of testing can come
down.
----for example, if tests are designed in such a way that some of the
earlier / prior tests can be reused, then the effort of test development
decreases.
3. Robustness of processes---
-- For example-- if parts of test case can be reused from existing test
cases, then the effort involved in developing these would be close to zero.
B. hiring
C. training
on the dependencies.
2. A defect repository
----A test case database captures all the relevant information about the
test cases in an organization.
-----Some of the entities and the attributes in each of the entities in such a
TCDB are given in following table
entity purpose attributes
-----A defect repository captures all the relevant details of defects reported
for a product.
-- SCM repository keeps track of change control and version control of all the
files/entities.
--
-- change control ensures that
1. Changes to test file are made in a controlled fashion and only with proper
approvals.
2. Changes made by one test engineer are not accidentally lost or overwritten by
other changes.
4. At any point of time, everyone gets access to only the most recent version of
the test files
-- version control ensures that the test scripts associated with a given release
of a product are baselined along with the product files.
-- In future, when anyone wants to recreate the environment for the given release,
this label would enable him or her to do so.
Test people management
---- 30%the success of the project comes from technical skills such as
Testing skill, development skills, management skill…. While 70% comes
from the human resource.
---- To manage the human resource, the Test Manager needs the people
skills.
--- A good starting point is to find out how good your management
skills are right now
--- asking yourself questions such as, "Can I learn how to motivate
people and earn their respect?" "How will I find time to complete
my own work while managing others?" or "Will I be able to lead
people who were once my peers?"
2. Effective Recruitment and Induction--
---- It's said that the most important part of directing a movie is
casting the right actors. If the actors are right for the roles, there will
be less need for detailed instruction, or correcting mistakes, later.
---- a person willing to go the extra mile can have a hugely positive
effect on your team's productivity and performance, if you place her
in the right position.
---The challenges you face can come from within your team or from
external factors beyond you or your organization's control. For
example, you may be feeling overstretched because your team is
growing too large or it is shrinking or suffering from high turnover.
TEST PROCESS
1. Putting together and baselining a test plan
-- A template of a test plan and a checklist of questions that are useful to arrive
at a test plan.(refer ls 15- test planning appendix A and B)
-- Each testing project puts together a test plan based on the template.
-- Should any changes be required in the template then such a change is made
only after careful deliberation and with appropriate approvals.
-- From then on, the baselined test plan becomes the basis for running the
testing project.
-- In addition, periodically, any change needed to the test plan templates are
discussed among the different stakeholders and this is kept current and applicable
to the testing teams.
Test case specification
-- Using the test plan as the basis, the testing team designs test case
specifications, which then becomes the basis for preparing individual test cases.
--
-- Hence a test case specification should clearly identify:
1. The purpose of test-- this lists what feature or part the test is intended for.
7. A step to compare the actual results produced with the expected results.
-- For example-- test cases corresponding to smoke tests may be run on a daily
basis. System testing test cases will be run during system testing.
1. Defects from the earlier test cycle that are fixed in the current build and
2. New defects that get uncovered in the current run of the tests.
-- As discussed in the test plan, a test may have to be suspended during its run
because of certain show stopper defects. In this case , the suspended test case
should wait till the resumption criteria are satisfied.
-- Likewise a test should be run only when the entry criteria for the test are
satisfied and should be deemed complete only when the exit criteria are satisfied.
-- During test design and execution, the traceability matrix should be kept
current. As and when tests get designed and executed successfully, the
traceability matrix should be updated.
-- Test summary report is the final step in a test cycle is to recommend the
suitability of a product for release.
-- A report that summarizes the results of a test cycle is the test summary report.
-- There are two types of test summary reports.
2. Final test summary report, which has all the details of all testing done by all
phases and terms, also called as “release test report”
-- The tests that were planned to be run but could not be run (with reason)
-- Additional tests that were run (that were not in the original test plan)
-- Differences in effort and time taken between what was planned and what was
executed