Test. Documentation overview

Содержание

Слайд 2

Agenda Test Policy Test Strategy Test Plan Test Design Specification Test

Agenda

Test Policy
Test Strategy
Test Plan
Test Design Specification
Test Case, Test Scenario, Checklist
Test Case

Specification
Test Procedure Specification
Test Incident Report
Test Summary Report
Level of formality for Test Documentation
Слайд 3

Test Documentation Test planning and control Test analysis and design Test

Test Documentation

Test planning and control

Test analysis and design

Test implementation and execution

Evaluating

exit criteria and reporting

Test closure activities

Fundamental Test Process

Documentation

Test Plan

Test Design Specification

Test Case Specification

Test Procedure Specification

Test Incident Report

Test Summary Report

Слайд 4

Test Policy Test Policy it’s a high level document describing the

Test Policy

Test Policy it’s a high level document describing the principles,

approach and major objectives of the organization regarding testing.

What “Testing” means for organization
High-level rules for testing
How organization measures test success
Quality Level to be achieved

Слайд 5

Test Strategy Test Strategy it’s a high-level description of the test

Test Strategy

Test Strategy it’s a high-level description of the test levels

to be performed and the testing within those levels for an organization or program (one or more projects).

Testing objectives
Methods of testing
Total time for testing
Resources required for the project
Testing environment

Слайд 6

Test Planning

Test Planning

Слайд 7

Test Plan Test Planning Test Plan it’s a document describing the

Test Plan

Test Planning

Test Plan it’s a document describing the scope, approach,

resources and schedule of intended test activities.

Test planning and control

Test analysis and design

Test implementation and execution

Evaluating exit criteria and reporting

Test closure activities

Слайд 8

Test Plan Test Plan identifier Introduction Test items Features to be

Test Plan

Test Plan identifier
Introduction
Test items
Features to be tested
Features not to be

tested
Approach
Item pass/fail criteria
Suspension criteria and resumption requirements
Test deliverables
Testing tasks
Environmental needs
Responsibilities
Staffing and training needs
Schedule
Risks and contingencies
Approvals

According to IEEE 829 Test Plan consists of:

Слайд 9

Test Analysis and Design

Test Analysis and Design

Слайд 10

Test Design Specification Test Analysis and Design Test planning and control

Test Design Specification

Test Analysis and Design

Test planning and control

Test analysis and

design

Test implementation and execution

Evaluating exit criteria and reporting

Test closure activities

Слайд 11

Test Design Specification Test Design Specification it is a document that

Test Design Specification

Test Design Specification it is a document that describes

features to be tested and specifies list of all test scenarios or test cases, which should be designed for providing the testing of software

Test Design Specification Identifier
Purpose
References
Definitions, acronyms and abbreviations
Features to be Tested
Approach Refinements
Test Identification



Feature Pass/Fail Criteria

According to IEEE-829 Test Design Specification consists of:

Слайд 12

Test Implementation

Test Implementation

Слайд 13

Test Case Specification Test Procedure Specification Test Implementation Test planning and

Test Case Specification

Test Procedure Specification

Test Implementation

Test planning and control

Test analysis and

design

Test implementation and execution

Evaluating exit criteria and reporting

Test closure activities

Слайд 14

Test Case Test Case it’s a set of input values, execution

Test Case

Test Case it’s a set of input values, execution preconditions,

expected results and execution post conditions, developed for a particular objective or test condition, such as to exercise a particular program path or to verify compliance with a specific requirement.

Attachment

Test Case Name / Summary

Description / Objective

Priority

Test Steps

Expected Result

Test Inputs / Test Data

Actual Result

Test Case ID

Test Case Type

Automation Status

Pre-condition

Execution Result / Status

Test Case Structure

Слайд 15

Test Scenario Test Scenario (high level test case) it’s a test

Test Scenario

Test Scenario (high level test case) it’s a test case

without concrete values for input data and expected results. Logical operators are used; instances of the actual values are not yet defined and/or available.

Example: Validation on the Login page

Слайд 16

Checklist It is versatile – can be used for anything Easy

Checklist

It is versatile  – can be used for anything
Easy to create/use/maintain
Analyzing

results (task progress/completion status) is super easy
Very flexible – you can add or remove items as needed

A Checklist is a catalog of items/tasks that are recorded for tracking.

Слайд 17

Test Case Specification Test Case Specification – a document specifying a

Test Case Specification

Test Case Specification – a document specifying a set

of test cases (objective, inputs, test actions, expected results, and execution preconditions) for a test item.

According to IEEE 829 Test Case Specification consists of:

Test Case Specification identifier
Test items
Input and Output specifications
Environmental needs
Special procedural requirements
Inter-case dependencies

Слайд 18

Test Procedure Specification Test Procedure Specification (Test Script) it’s a document

Test Procedure Specification

Test Procedure Specification (Test Script) it’s a document specifying

a sequence of actions for the execution of a test.

According to IEEE 829 Test Case Specification consists of:

Test Procedure Specification identifier
Purpose
Special requirements
Steps

Слайд 19

Test Execution

Test Execution

Слайд 20

Test Incident Report Test Execution Test planning and control Test analysis

Test Incident Report

Test Execution

Test planning and control

Test analysis and design

Test implementation

and execution

Evaluating exit criteria and reporting

Test closure activities

Слайд 21

Test Incident Report Defect Report it’s a document reporting on any

Test Incident Report

Defect Report it’s a document reporting on any flaw

in a component or system that can cause the component or system to fail to perform its required function.

According to IEEE 829 Test Incident Report consists of:

Test Incident Report identifier
Summary
Incident Description
Inputs
Actual and Expected Results
Anomalies
Date and Time
Procedure Step
Attempts to Repeat
Testers, Observers
Impact
Severity
Priority

Слайд 22

Evaluating Exit Criteria and Reporting

Evaluating Exit Criteria and Reporting

Слайд 23

Evaluating Exit Criteria and Reporting Test planning and control Test analysis

Evaluating Exit Criteria and Reporting

Test planning and control

Test analysis and design

Test

implementation and execution

Evaluating exit criteria and reporting

Test closure activities

Test Summary Report

Слайд 24

Test Summary Report Test Summary Report it’s a document summarizing testing

Test Summary Report

Test Summary Report it’s a document summarizing testing activities

and results. It also contains
an evaluation of the corresponding test items against exit criteria.

According to IEEE 829 Test Summary Report consists of:

Test Summary Report identifier
Summary
Variances
Comprehensiveness Assessment
Summary of Results
Evaluation
Summary of Activities
Approvals

Слайд 25

Level of Formality

Level of Formality

Слайд 26

Level of formality Testing may be performed with varying degrees of

Level of formality

Testing may be performed with varying degrees of formality.
As

well as Test Documentation can be tracked with varying degrees of formality.

The right level of formality depends on:
Context
Organization
Culture
People
Development process maturity
Testing process maturity
Time constraints

Contents described in the IEEE 829 Standard for Test Documentation don't all have to be separate physical documents. But the standard's list of what needs to be kept track of is a good starting point, even if the test conditions and test cases for a given functionality or feature are all kept in one physical document.

Слайд 27

Level of formality

Level of formality

Слайд 28

Level of formality Agile manifesto: Working software over comprehensive documentation How

Level of formality

Agile manifesto:
Working software over comprehensive documentation

How much documentation

is enough, and when should you write it?
Essential – Document what we actually need.
Valuable – Document what will be valuable for other.
Timely – Documentation should be done
in a just-in-time manner, when we need it.

Agile suggests no documentation