Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Exhaustive testing (use of all possible inputs and conditions) is impractical must use a subset of all possible test cases. must have high probability of detecting faults. Need thought processes that help to select test cases more intelligently. test case design techniques are such thought processes.Effective testing: find more faults. focus attention on specific types of fault. know you're testing the right thing. Efficient testing: find faults with less effort. avoid duplication systematic techniques are measurable. | 5 16 2013 Contents Dynamic techniques Test condition - Test case - Test procedure Black-box techniques White-box techniques Experience-based techniques Choosing test techniques Why dynamic test techniques Exhaustive testing use of all possible inputs and conditions is impractical must use a subset of all possible test cases must have high probability of detecting faults What is a testing technique a procedure for selecting test cases a way of deriving good test cases maximize possibility faults found minimize time and resources Need thought processes that help to select test cases more intelligently test case design techniques are such thought processes Slide 3 Slide 4 1 5 16 2013 Categories of dynamic techniques Where to apply Specification-based black-box techniques View software as black-box with input and output Structure-based white-box or glass-box techniques See the internal structure of the software Experience-based Use the tester s experience knowledge and intuition Where to apply Black box appropriate at all levels but dominates higher levels of testing White box used predominately at lower levels Experience-based techniques used when there is no specification or inadequate or out of date Acceptance System Component Slide 8 Integration Slide 7 2 5 16 2013 1 IX n Contents Dynamic techniques Test condition - Test case - Test pro Black-box techniques White-box techniques Experience-based techniques Choosing test techniques 5 6 7 X zedure 1 Test process Planning and Control Slide 10 Task 1 identify test conditions Task 2 design test cases Test condition determine what is to be tested e.g. requirements architecture design interfaces Based on system requirement code experienced user s knowledge of the system Test conditions should be able to be linked back to their sources in the test basis traceability Prioritise the test conditions must ensure most important conditions are covered Slide 11 A set of input values expected results pre-conditions post-conditions