1. Trang chủ
  2. » Công Nghệ Thông Tin

Test documentation pdf

27 193 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 27
Dung lượng 290,75 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

The need for a good test plan Helps to organize, schedule and manage the testing effort  Helps in writing test cases  Improves communication with developers and with management  If d

Trang 1

Test documentation

Trang 2

 Test Plan

 Test Cases

 Test Case Design

Trang 3

Test plan

Trang 4

The need for a good test plan

 Helps to organize, schedule and manage the testing effort

 Helps in writing test cases

 Improves communication with developers

and with management

 If done correctly, it may help minimize the

documentation required

Trang 5

Validation Planning Issues

 Testing is intended to measure software

quality and must be planned

 It takes careful planning to select a good set

of tests

 Questions that must be answered: What to test and when to stop

Trang 6

Benefits of Test Planning

 Measure the cost of testing vs the confidence gained

 Forces you to work out expected results

before you run the test cases

 You can actually find errors before running

any tests!

Trang 7

Components of a Test Plan

Trang 8

Other Issues to Consider

Trang 9

Test Plan activities

 Use a Test Plan template, or design one

 List what cannot be tested

 Write only what you need

Trang 10

Test Plan activities

 Have the Test Plan reviewed

 Test while you write

 Make it a “living” document

Trang 11

Concerns of Test Planning

 Not enough training

 Lack of test tools

 Lack of management support

 Lack of customer/user involvement

 Not enough time

 Rapid change

 It‟s hard to say “No”

Trang 12

Example of a Test Plan

 Test Plan template

 Test Plan example

Trang 13

A Partial List for Your Test

Plans

 Title page of some sort

 Description of the testing to be done

 Updated Requirements Matrix

 List of test cases

 Traceability Matrix

 3 detailed test cases

Trang 14

Testing on a large project

 Roles/Responsibilities

Trang 15

Test Planning Tips

 Meet regularly with the Project Manager

 Plan for the test team to attend a lot of

reviews

 Make assignments early

 Assign one tester to know everything

 Have only one Test Plan

 Biggest headache: Builds

Trang 16

Test case

Trang 17

 Test Case

results, and a set of execution conditions for a

test item

 Test Suite

used to test a software program

Trang 18

Characteristics of good Test

Cases

 Reasonable probability of catching an error

of validating the program/system

Trang 19

Test Case caveats

 Errors can mask other errors

 Make sure you know how to tell whether a

test case passes or fails

 Bug fixes can cause more bugs

Trang 20

Where do you get your Test

 The customer: Use Cases/Scenarios

 Defects from the field or previous releases

Trang 21

Test Case Examples

 Test Case Template

 Test Case Example

Trang 22

To read more

Trang 23

Test Case Generation

 Case-insensitive Passwords

 State look-up

 Simple program

Trang 24

Case-insensitive Passwords

 Write the test cases to verify that Passwords are case insensitive when logging onto a

secure system

Trang 25

An example

Test Case: Verify that passwords are case

insensitive

Test Procedure:

successful)

5 Log on using Password „abcDe‟ (should be

successful).

Trang 26

the full name Discuss all considerations for testing such a function

Trang 27

Simple program

 The program accepts as input 2 integers and outputs their sum

 Assume arbitrary limits, say -100 to +100

 Design the test cases

Ngày đăng: 08/07/2014, 00:20

TỪ KHÓA LIÊN QUAN