Week five Homework

Source: Internet
Author: User

What are the methods of black box testing?

A: Black box testing: is a software implementation from outside the software testing, also known as functional testing or based on the specification of the test. Black-Box testing is a test from a user's point of view, with the aim of discovering the software's external behavior errors as much as possible.

Advantages: (1) black box testing is independent of the software implementation, so if the software implementation changes, the test case can still be used.

(2) The design of black box test cases can be carried out simultaneously with the software implementation, so it can compress the total development time of the project.

Method Classification: (1) Equivalence class division: Completely do not consider the internal structure of the program, only according to the program specifications to divide the input range, the input data as far as possible, that is, the program input is divided into a number of disjoint subsets, that is, equivalence class, and then from each equivalence class select a few have representative Data as test cases for testing.

(2) Boundary value analysis method: A large number of software testing practices show that faults often occur on the boundary values of a defined field or range, rather than in the interior. Specially designed test cases for processing near the detection boundary, with strong ability to detect faults.

(3) Causality diagram method: A test method that is suitable for describing a combination of various conditions, producing multiple corresponding actions,

(4) Decision table method: It is the most rigorous and logical test method in black box testing.

Adder Boundary value test Case: Adder program calculates the sum of integers between two 1~200.

Week five Homework

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.