[101] comprehensive strategy for designing black box test cases

Source: Internet
Author: User

The specific black box test case design methods include equivalence division, Boundary Value Analysis, Error Prediction, Cause-of-failure method, discriminant table driving method, orthogonal test design method, functional method, and scenario method. These methods are relatively practical, but what methods should be used in the specific work, you need to make appropriate choices based on the characteristics of the project. In actual high-level tests, a variety of methods are often required to effectively improve the test efficiency and test coverage.

The following describes the comprehensive strategies used to design various test cases for your reference.

(1) first, divide equivalence classes, including the equivalence division of input and output conditions, and convert infinite tests into finite tests. This is the most effective way to reduce workload and improve test efficiency.

(2) In all circumstances, the boundary value analysis method must be used. Experience shows that the test case discovery designed using this methodProgramThe most error-tolerant.

(3) Some test cases can be added using the error inference method, which relies on the wisdom and experience of test engineers.

(4) Check the logical coverage of the designed test cases against the program logic. If the coverage criteria are not met, sufficient test cases should be supplemented.

(5) If the function description of the program contains a combination of input conditions, you can use the Causal Method and the discriminant table driver method at the beginning.

(6) For parameter configuration software, less combinations should be selected through orthogonal test to achieve the best effect.

(7) using the functional graph method, we can design different test data based on the validity of the conditions in different periods.

(8) For systems with clear business flow, the scenario method can be used throughout the test case design process, and various test methods can be used in the case.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.