ISTQB Chapter 3 Static Testing
ISTQB Chapter 3 Static Testing
Agenda
1. 2. 3.
Reviews
Review
Review Definition
Phases of Reviews
1. Planning: Selecting & Allocating the roles; defining the entry and exit criteria. 2. Kick-off: Distributing process documents with its objectives to the participants; and checking entry criteria. 3. Individual preparation: Work done by each of the participants on their own before the review meeting, noting potential defects, questions and comments.
Phases of Reviews
4. Review meeting: Discussion or logging, with documented results or minutes. The meeting participants may note defects, make recommendations for handling the defects, or make decisions about the defects. 5. Rework: Fixing defects found (Ideally done by the author). 6. Follow-up: Checking that defects have been addressed, gathering metrics and checking on exit criteria of the meeting
Recorder Author
Moderator
10
Types of Reviews
11
Informal review
Key characteristics: No formal process; There may be pair programming or a technical lead reviewing designs and code; Optionally may be documented; May vary in usefulness depending on the reviewer; Main purpose: inexpensive way to get some benefit.
12
Walkthrough
Key characteristics: Meeting led by author; Scenarios, dry runs, peer group; Optionally a pre-meeting preparation of reviewers, review report, list of findings and scribe (who is not the author) May vary in practice from quite informal to very formal; Main purposes: learning, gaining understanding, defect finding.
13
Technical review
Key characteristics: Ideally led by trained moderator (not the author); Pre-meeting preparation; Optionally the use of checklists, review report, list of findings and management participation; May vary in practice from quite informal to very formal; Main purposes: discuss, make decisions, evaluate alternatives, find defects, solve technical problems and check conformance to specifications and standards.
14
Inspection
Key characteristics: Led by trained moderator (not the author); Usually peer examination; Defined roles; Formal process based on rules and checklists with entry and exit criteria; Pre-meeting preparation; Inspection report, list of findings; Formal follow-up process; Optionally, process improvement and reader; Main purpose: find defects.
15
Reviews
Clear predefined objective. Right people for the review objectives are involved. Defects found are welcomed, and expressed objectively. People issues and psychological aspects are dealt with (e.g. making it a positive experience for the author). Review techniques are applied that are suitable to the type and level of software work products and reviewers. Checklists or roles are used if appropriate to increase effectiveness of defect identification. Emphasis on learning and process improvement. Management supports a good review process
16
Static analysis
17
Static analysis
Key Characteristics To find defects in software source code and software models, Is performed without actually executing the software being examined by the tool; It can locate defects that are hard to find in dynamic testing, Typically used by developers, They analyze program code (e.g. control flow and data flow), as well as generated output such as HTML and XML, Compilers may offer some support for static analysis, including the calculation of metrics.
18
Main value of static analysis is: Early detection of defects prior to test execution. Early warning about suspicious aspects of the code or design Identification of defects not easily found by dynamic testing. Detecting dependencies and inconsistencies in software models, such as links. Prevention of defects, if lessons are learned in development.
19
20
Summary
Walkthrough Inspection Review
Planning Kick off Review Meeting Rework Follow-up The Players of Review Meeting
21
Case Study
22
In collaboration with
Questions?