Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 27 trang
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
Nội dung
Test documentation 2 Contents Test Plan The need for test plans The structure of test plans A Test Plan Template A Test Plan example Testing on a large project Test Cases Test Case Design Test Case Examples 3 Test plan 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 May be required by the customer 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 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! 7 Components of a Test Plan Testing approach Schedule Resources Entry and Exit criteria Requirements Matrix What will NOT be tested Test Cases 8 Other Issues to Consider Test methods Facilities for test execution Test automation Testing tools Support software Configuration management Risks (budget, schedule, etc.) 9 Test Plan activities Use a Test Plan template, or design one List what cannot be tested Write only what you need 10 Test Plan activities Have the Test Plan reviewed Test while you write Make it a “living” document [...]... 3 detailed test cases 13 Testing on a large project Roles/Responsibilities Project Mgr /Test Mgr/Development Test Team Lead/Lead Test Designer Testers Test Technicians Build Manager 14 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... Biggest headache: Builds 15 Test case 16 Terminology Test Case Documentation specifying inputs, predicted results, and a set of execution conditions for a test item Test Suite a collection of test cases that are intended to be used to test a software program 17 Characteristics of good Test Cases Reasonable probability of catching an error Recall: Testing is the process of finding... 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” 11 Example of a Test Plan Test Plan template Test Plan example 12 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. .. results 18 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 19 Where do you get your Test Cases? Test Requirements Matrix Your experience Your learning The developer(s) Marketing The customer: Use Cases/Scenarios Defects from the field or previous releases 20 Test Case Examples Test Case... Test Case Template Test Case Example 21 To read more Cem Kaner, “What Is a Good Test Case?” 22 Test Case Generation Case-insensitive Passwords State look-up Simple program 23 Case-insensitive Passwords Write the test cases to verify that Passwords are case insensitive when logging onto a secure system 24 An example Test Case: Verify that passwords are case insensitive Test Procedure: 1 2... state abbreviation The program looks up the state in a table and displays the full name Discuss all considerations for testing such a function 26 Simple program The program accepts as input 2 integers and outputs their sum Assume arbitrary limits, say -100 to +100 Design the test cases 27 . Test documentation 2 Contents Test Plan The need for test plans The structure of test plans A Test Plan Template A Test Plan example Testing on a large project Test Cases Test. of test cases Traceability Matrix 3 detailed test cases 14 Testing on a large project Roles/Responsibilities Project Mgr /Test Mgr/Development Test Team Lead/Lead Test Designer Testers . etc.) 9 Test Plan activities Use a Test Plan template, or design one List what cannot be tested Write only what you need 10 Test Plan activities Have the Test Plan reviewed Test while