Vous êtes sur la page 1sur 3

48 I into IT

Dig the
"To fail to plan, is to plan to fail". IEEE 829 is arguably
still the most used software testing standard."
"Why standards? The use of measurable?) gains while not adding dis- IEEE 829 is often thought of as being the
standards simplifies communication, proportionate overheads. I once standard for a "High Level Test Plan" or
promotes consistency and worked for a large organisation that had "Master Test Plan" (HLTP or MTP). It is
uniformity, and eliminates the need an internal (and mandatory) standard for more than this, as the standard
to invent yet another (often almost all documents. It was such that describes eight documents that can be
different and even incompatible) its use transformed a document of 200 produced as part of the testing effort.
solution to the same problem. real words into 18 pages after all the These documents are sometimes
Standards, whether 'official' or necessary parts ('glossary', 'associated distributed between different categories
merely agreed upon, are especially documents', etc) were added. Perhaps and although there is no consensus on
important when we're talking to this was counterproductive and the subdivisions, I find the following par-
customers and suppliers, but it's unnecessary. titioning helpful:
easy to underestimate their G Test Planning
importance when dealing with
different departments and An overview of IEEE 829 Test Plan
disciplines within our own organisa- G
There have been diverse document Test Specification
tion. They also provide vital
types used in software testing, Test design specification
continuity so that we are not
developed in many cases for the needs
forever reinventing the wheel. They Test case specification
of a particular organisation. IEEE 829
are a way of preserving proven
(1983) - the Standard for Software Test procedure specification
practices above and beyond the
Test Documentation - was an attempt
inevitable staff changes within G Test Reporting
to pull sources together and present
organisations." [Ed Kit - Software
some best practice ideas. The standard Test Item transmittal report
Testing in the Real World]
was revisited and revised in 1998. Please
That paragraph neatly and (quite) note that the standard applies to any Test log
succinctly describes why standards exist. level of testing that may take place, Test incident summary
But how does that affect testing practi- including acceptance testing, although its
tioners who live, as in the title of Ed Kit's application in agile development Test summary
book, in the real world? methodologies may be less obvious. It is Most of these eight document types are
Anything that promotes better project usual to have 'a full set' of IEEE 829 well known, but figure 1 (opposite)
communication has to be good for documents for each testing stage that is provides a very brief summary.
testers. Standards have, therefore, to be to be undertaken.
effective and produce recognisable (and
into IT I 49

Test planning revisited It is worth noting at this point that the


standard lists as 'deliverables' the seven
it is unnecessary to obtain individual and
departmental sign-off; sign-off is
Test planning is a key activity in any other document types that perform part achieved based on what is known at the
software testing project and for that of the standard. Some organisations add time. In one organisation, sign-off is
reason many would associate IEEE 829 to this basic list by including key items achieved by stating that unless this is
only with test planning. The standard such as 'glossary' and 'references' to received by a specified (and realistic)
defines 16 items that should be other documents. I usually keep MTP date, it will be assumed. It is remarkable
considered for an MTP, including the key documents from previous projects and how that concentrates the minds of
activities of estimation ('schedule' is one for projects that I worked on for other those concerned!
of the 16) and risk, both of which are organisations, so that I can look back
Two areas that indicate the dynamic
large topics in their own right. and see what specific details were
nature of the MTP concern schedules
included.
The 16 are given below for complete- and risks. During the testing phase, good
ness together with a well-known news and bad news can act to change
mnemonic (SPACEDIRT) for MTP is a LIVING document priorities. Does this mean that the
original MTP was wrong? No; the MTP
remembering the list; more detail on
each can be found in textbooks and on This document specifies what is going to is what its name suggests, just a plan. At
web sites that deal with this subject: be done and how it is going to be done. the time, it was based on the best
It needs to be published, to appropriate available information, incomplete though
S Scope test items, what to people, to make others aware of what is this was. Information will improve as
test, what not to test - and what is not - going to be tested. testing progresses; for example, what
P People training, responsibili- However, don't wait for everything to was once a critical risk might now have
ties, schedule be completed before the document is been addressed (e.g. by third-party
circulated for comment and/or review. security testing). The risk is now
A Approach the approach that will answered and will possibly require no
The MTP will change during the life of
be taken to testing further action.
the project, but this does not mean that
C Criteria entry/exit criteria,
suspension/resumptio
n criteria
Figure 1 The eight parts
E Environment test environment
Test Plan A high level view of how testing will proceed; WHAT is to be
needs
tested, by WHOM, HOW, in what TIME frame, to what
D Deliverables what is being QUALITY level.
delivered as part of Test Design Spec Details the test conditions to be exercised, with the expected
the test process outcome (in general terms).
I Incidentals introduction, Test Case Spec Specific data requirements to run tests, based upon the test
identification (of the conditions identified.
document), approval Test Procedure Spec Describes how the tester will physically run the test,
authorities including set up procedures. The standard defines ten
R Risks risks and procedure steps that may be applied when running a test.
contingencies Test Item Transmittal The recording of when individual items to be tested have
been passed from one stage of testing to another. This
T Tasks the test tasks that are
includes where to find such items, what is new about them,
involved in the testing
and is in effect a warranty of 'fit for test'.
process.
Test Log Details of what tests were run, by whom, and whether
individual tests passed or failed.
Test Incident Summary Details of instances where a test 'failed' for a specific reason.
Test Summary The Test Summary brings together all pertinent information
about the testing, including the number of incidents raised
and outstanding, and crucially an assessment about the
quality of the system. Also recorded for use in future project
planning is details of what was done, and how long it took.
This document is important in deciding whether the quality
of the system is good enough to allow it to proceed to
another stage. This assessment is based upon detailed
information that was documented in the Test Plan.
50 I into IT

Figure 2 Relationship to other standards Where to learn more


These are some of the other standards that may be referred to when documenting Template - Test Plan Template, based
according to IEEE 829: on IEEE 829: Systeme Evolutif web-site:
IEEE 1008 - Standard for Unit testing http://www.evolutif.co.uk/
tkb/guidelines/ieee829/)
IEEE 1028 - Standard for Software Reviews
IEEE 1044 - Standard Classification for Software Anomalies also...
IEEE 1044-1 - Guide to Classification for Software Anomalies http://www.cs.swt.edu/~donshafer/proj
BSS 7925-1 - Vocabulary of Terms in Software Testing ect_documents/test_plan_template.html
BSS 7925-2 - Standard for Software Component Testing Sample - SAMPLE Test Plan, again
based on IEEE 829: Systeme Evolutif
web-site: http://www.evolutif.co.uk/tkb/
guidelines/ieee829/ and then select
Review the document scriptive feature is to use of the 16 point
"check-list". It is perfectly OK to exclude Sample MTP
The MTP needs to be reviewed, with one of the 16 points, so long as the
Worked example -
reviews taking place face-to-face. If it is reasons for excluding it are listed and
contentious, points of conflict need to agreed by the MTP's reviewers. The http://www.luckydogarts.com/dm158/d
be talked through. The MTP is not MTP also includes risks and ocs/System_Test_Plan.doc
solely "owned" by the testing team(s); assumptions; sometimes the explicit See also -
developments groups and users can statement of a risk or assumption
contribute significantly to its clarification promotes lively discussion, and even http://www.google.com and search for
and suggest other items to be added. resolution! "IEEE 829"

What is and what is not to be tested, All the web sites above were returned
are two key elements in the MTP. In Conclusion from a 'Google' search. The author has
no commercial or other interest in these
October 2002, I worked on a project
where testing was, as always, pushed for As a standard, IEEE 829 is not so much particular sites.
time. The MTP specified that significant about how to test, but how to
testing would concentrate on the retail
system with respect to '53-week year'
document that you have tested, and
there is interplay between it and other
About the author
processing (2002 - 2003 was a 53-week of the project's standards and Peter Morgan is a senior practition-
year). The development team failed to documents. er with e-testing Consultancy
realise the significance of 53-week years, Ltd, a UK-based company that
Adherence to IEEE 829 is no guarantee specialises in training in software
but the mere insertion of the testing that the testing project will be
intention resulted in better code testing and in consultancy. The
successful. It should not be used blindly Company provides entry level
(development extended unit test as a standard, but appropriately. Testing
coverage, found some problems and training leading to the internationally
is a service that adds nothing to the recognised ISEB Foundation
implemented fixes). project team's output; a tester does not Certificate in Software Testing,
It is usual for the detail listed in the MTP make better software (and testers details of which can be found at the
to be used as a basis for deciding should not be allowed to alter code). British Computer Society web site -
whether the software under test is We therefore need to slay the myth of http://www1.bcs.org.uk/ under
suitable for the next stage of testing, "documentation for documentation's ISEB, Qualifications, Software
deployment to production, etc. Thus, sake" and ask ourselves "does the output Testing.
key individuals need to see and agree enable the test and/or development
this detail before the crunch implemen- teams to do a better job; or help them Peter's testing assignments have
tation meeting! to present the information found during included large-scale UK government
testing in a clearer way; or demonstrate infrastructure projects. He can be
to an outside agency (e.g. the auditors) contacted by e-mail at
Facing Reality that testing has been properly planned PMorgan@etesting.com and further
and completed? details of the company can be found
The MTP is one place where testing at http://www.etesting.com.
comes face-to-face with reality. Merely incorporating IEEE 829 will not
make a success of a project. It can, This article first appeared in edition
The MTP is not free-standing, but fits however, help to make a success by 16 of Professional Tester
into the overall Test Strategy. In some providing guidelines and pointing the (http://www.professionaltester.com)
ways, it is not a prescriptive approach, way to better understanding and to and is reproduced with the Editor's
but a checklist to remind those better documentation. kind permission.
responsible what should be considered
for inclusion in the MTP. Its only pre-

Vous aimerez peut-être aussi