Categories of Test Design Techniques Experience-based design techniques Definitions:To developers,testers,and the experience and knowledge of the user,based on what should be tested to determine and develop the corresponding test cases. The experience and knowledge of development The experience in dealing with failure and defects The tested experience and knowledge of software system 同濟大学 TONGJI UNIVERSITY SoftwareTesting 16.12.2023 26
Categories of Test Design Techniques Experience-based design techniques ➢ Definitions: To developers, testers, and the experience and knowledge of the user, based on what should be tested to determine and develop the corresponding test cases. The experience and knowledge of development The experience in dealing with failure and defects The tested experience and knowledge of software system Software Testing 16.12.2023 26
Categories of Test Design Techniques The advantage of black-box and white-box testing Black-box testing techniques just observe input program/output behavior.Functional test object is the focus of our aftention.Black-box testing techniques are often used in high-level test,although also used in unit testing,such as test-first programming,test-driven development; >White-box testing techniques to consider the internal structure of the test object(cell level,control flow and data flow,etc.).White-box testing techniques are generally used in low-level tests,such as unit testing and integration testing; 同海大学 TONGJI UNIVERSITY Software Testing 16.12.2023 27
Categories of Test Design Techniques The advantage of black-box and white-box testing ➢ Black-box testing techniques just observe input program / output behavior. Functional test object is the focus of our attention. Black-box testing techniques are often used in high-level test, although also used in unit testing, such as test-first programming, test-driven development; ➢White-box testing techniques to consider the internal structure of the test object (cell level, control flow and data flow, etc.). White-box testing techniques are generally used in low-level tests, such as unit testing and integration testing; Software Testing 16.12.2023 27
Exercise:E-mall Pocket Test Techniques .Refer to your outline of test suites for E-mall Pocket. For each test suite,identify whether one,two,or all three of the following categories of test techniques would be useful in designing test cases: -Specification-based (black box) Structure-based (white box) Experience-based ●Discuss. 同濟大学 TONGJI UNIVERSITY SoftwareTesting 16.12.2023 28
Exercise: E-mall Pocket Test Techniques •Refer to your outline of test suites for E-mall Pocket . •For each test suite, identify whether one, two, or all three of the following categories of test techniques would be useful in designing test cases: – Specification-based (black box) – Structure-based (white box) – Experience-based •Discuss. Software Testing 16.12.2023 28
Outline .The Test Development Process Categories of Test Design Techniques .Specification-based or Black-box Techniques .Structure-based or White-box Techniques Experience-based Techniques .Choosing Test Techniques 同濟大学 TONGJI UNIVERSITY Software Testing 16.12.2023 29
Outline •The Test Development Process •Categories of Test Design Techniques •Specification-based or Black-box Techniques •Structure-based or White-box Techniques •Experience-based Techniques •Choosing Test Techniques Software Testing 16.12.2023 29
Specification-based or Black-box Techniques Learning Target >Write test cases from given software models using equivalence partitioning,boundary value analysis, decision tables and state transition diagrams/tables(K3) >Explain the purpose of each of the four testing techniques,what level and type of testing could use the technique,and how coverage may be measured(K2) >Explain the concept of use case testing and its benefits (K2) GOAL 同濟大学 TONGJI UNIVERSITY SoftwareTesting 16.12.2023 30
Specification-based or Black-box Techniques ➢ Write test cases from given software models using equivalence partitioning, boundary value analysis, decision tables and state transition diagrams/tables (K3) ➢ Explain the purpose of each of the four testing techniques, what level and type of testing could use the technique, and how coverage may be measured (K2) ➢ Explain the concept of use case testing and its benefits (K2) Learning Target Software Testing 16.12.2023 30