Black box test case Design Method

Source: Internet
Author: User

Introduction:

The black box test is also called a function test. It checks whether each function can be used normally. In the testProgramAs a black box that cannot be opened, test the program interface without considering the internal structure and features of the program, it only checks whether the program functions are normally used according to the requirements specification, and whether the program can properly receive input data to generate correct output information. Black box testing focuses on the external structure of the program, without considering the internal logic structure. It mainly tests the software interface and software functions. The black box test is based on the user's perspective and starts from the correspondence between the input data and the output data. Obviously, if there is a problem with the external feature itself or the specification is incorrect, the cartridge test method cannot be found. The black box testing method focuses on the functional requirements of the testing software and mainly attempts to find the following types of errors:

1.Incorrect functions or missing UI errors;

2.Database Access error;

3.Performance error;

4.Initialization and termination errors.

Theoretically, black box testing can only detect all errors in the program by taking all possible input into consideration. In fact, there are an infinite number of testing cases. People should not only test all the inputs of the pipeline, but also test those illegal but possible inputs. In this way, the test is completely impossible. Therefore, we need to conduct targeted tests and guide the implementation of the test by developing test cases to ensure that the software test is organized and step-by-step, and planned. Black box testing behaviors must be quantified to ensure software quality. Test Cases are one of the methods to quantify testing behaviors.

The specific black-box test case design methods include equivalence division, Boundary Value Analysis, Error Prediction, factor-based method, discriminant table driving method, orthogonal test design method, and functional diagram method.

/Files/chenqingwei/black box test .rar

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.