Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Outline
Static Techniques and the Test Process
Review Process
Software Testing
11/5/2012
software, static testing techniques rely on the manual examination (reviews) and automated analysis (static
(including code) and can be performed well before dynamic test execution
Defects detected during reviews early in the life cycle (e.g.,
requirements specifications, design specifications, code, test plans, test specifications, test cases, test scripts, user guides or web pages
Software Testing
11/5/2012
Software Testing
11/5/2012
objective identifying defects. They are complementary; the different techniques can find different types of defects
dynamic
testing
include:
deviations
from
standards,
requirement
6 Software Testing
defects,
design
defects,
insufficient
11/5/2012
Review Process
The
different
types
of
reviews
vary
from
informal,
characterized by no written instructions for reviewers, to systematic, characterized by including team participation, documented results of the review, and documented procedures for conducting the review
The formality of a review process is related to factors such
as the maturity of the development process, any legal or regulatory requirements or the need for an audit trail
The way a review is carried out depends on the agreed
objectives
7
of
the
review
(e.g.,
find
defects,
gain
Review Process
Activities of a Formal Review
A typical formal review has the following main activities: a) Planning:
Review Process
c) Kick-off: o Distributing documents o Explaining the objectives, process and documents to the
participants
d) Checking entry criteria (for more formal review types)
e) Individual preparation
o Preparing for the review meeting by reviewing the
document(s)
f)
9
Review Process
g) Examination/evaluation/recording
of
results
(review
meeting):
o Discussing or logging, with documented results or
Rework
Software Testing 11/5/2012
Review Process
j)
k) Follow-up:
11
Software Testing
11/5/2012
Review Process
Roles and Responsibilities
A typical formal review will include the roles below: Manager: decides on the execution of reviews, allocates
document or set of documents, including planning the review, running the meeting, and following-up after the
Review Process
Author: the writer or person with chief responsibility for the
document(s) to be reviewed.
Reviewers: individuals with a specific technical or business
review meetings.
13 Software Testing 11/5/2012
Review Process
Scribe (or recorder): documents all the issues, problems and
different perspectives and using checklists can make reviews more effective and efficient. For example, a checklist based on various perspectives such as user, maintainer, tester or operations, or a checklist of typical requirements
Review Process
Types of Reviews
A single software product or related work product may be the
If more than one type of review is used, the order may vary.
For example, an informal review may be carried out before a technical review, or an inspection may be carried out on a requirements specification before a walkthrough with
customers.
15 Software Testing 11/5/2012
Review Process
The main characteristics, options and purposes of common
o No formal process
o May take the form of pair programming or a technical
Review Process
b)
Walkthrough
o Meeting led by author o May take the form of scenarios, dry runs, peer group
participation
o Open-ended sessions
o Optional scribe (who is not the author) o May vary in practice from quite informal to very formal
17 Software Testing 11/5/2012
Review Process
c) Technical Review o Documented,
management participation
o May
be
performed
as
peer
review
without
management participation
o Ideally led by trained moderator (not the author) o Pre-meeting preparation by reviewers o Optional use of checklists
18 Software Testing 11/5/2012
Review Process
o Preparation of a review report which includes the list of
findings, the verdict whether the software product meets its requirements and, where appropriate,
alternatives, finding defects, solving technical problems and checking conformance to specifications, plans,
Review Process
d) Inspection o Led by trained moderator (not the author) o Usually conducted as a peer examination o Defined roles o Includes metrics gathering
software product
20 Software Testing 11/5/2012
Review Process
o Pre-meeting preparation o Inspection report including list of findings o Formal follow-up process
o Optional reader o Main purpose: finding defects Walkthroughs, technical reviews and inspections can be
Review Process
Success Factors for Reviews
Success factors for reviews include: Each review has clear predefined objectives The right people for the review objectives are involved Testers are valued reviewers who contribute to the review
Review Process
People issues and psychological aspects are dealt with
the objectives and to the type and level of software work products and reviewers
23
Review Process
Training is given in review techniques, especially the more
is
an
emphasis
on
learning
and
process
improvement
24
Software Testing
11/5/2012
dynamic testing. As with reviews, static analysis finds defects rather than failures
Static analysis tools analyze program code (e.g., control flow
25
and data flow), as well as generated output such as HTML Software Testing
11/5/2012
of
defects,
if
lessons
are
learned in 11/5/2012
(checking
against
predefined
rules
or
programming
testing
or
when
checking-in
code
to
configuration
END
29
Software Testing
11/5/2012