Black Box Test Summary

Source: Internet
Author: User

A few weeks ago, the teacher introduced us to some basic contents and methods of black box testing, here, I have a summary of what the teacher said:

Black box testing is a common software testing method, it will be tested software as a non-open black box, mainly according to functional requirements design test cases, test. we must clearly recognize that for black-box testing, we do not know the internal details of the structure, we, like ordinary users, can not directly contact the code, but only according to the use of functional instructions to design test cases, testing. The basic point of view is that it only cares about the input data and the output, not the internal process.。 For black-box testing, the easiest thing to think about is the poor lifting method, which is very inefficient, purposeful and not achievable. The commonly used black box test methods are as follows four kinds: equivalence class division, Boundary value analysis method, causality diagram hair, decision table method. 1. first, the method of equivalence class partitioning. In the previous blog has been a summary of the introduction, but also give a test example, through this method, we can easily design the test cases, to achieve the testing of software functions. 2. Boundary Value Analysis method。 A large number of software testing practices have shown that failures often occur on the boundary of a defined field or range, rather than within it. Designing test cases specifically for processing near the boundary of the detection is usually a good test result. Therefore, the boundary value analysis method is a very useful black box test case method, it has a strong ability to find fault. The key is to design suitable test cases according to the boundary. 3. Causality Diagram Method。 For the former two, it is important to consider the input conditions, if there is no connection between program input, it is a more effective method to use equivalence class partition and boundary value analysis. However, it is difficult to describe the relationships between inputs, such as constraint relationships, combinatorial relationships, and so on, so it is important to consider using a test method that is suitable for describing a combination of conditions to produce multiple corresponding actions, and the causality diagram is presented in this context. Causality diagram shows the relationship between each input through a variety of specific symbols, constraints, so as to facilitate the design of test cases based on causality diagram. 4. Decision Table Method。 A decision table is a table that lists the various combinations of values and the corresponding output values of all inputs as conditions. It is able to enumerate complex problems in all possible cases, concise and avoid omissions. Therefore, the decision table can be used to design a complete set of test cases. selection suggestions for some black box testsphysical or relative independence → boundary value analysis and equivalence class methods are not independent → decision table testing can be guaranteed to be single defect hypothesis → boundary value analysis and robustness test multi-defect hypothesis → boundary value analysis test and decision table test contains large number of exception handling → robustness test and decision table test logic volume → equivalence class test case and decision table test

Black Box Test Summary

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.