Software Testing-1

Source: Internet
Author: User

Before learning software Testing This course, I have always felt that software testing is only after the basic completion of software development, using a variety of methods to find out the existence of software bugs. In fact, software testing runs through the entire software development cycle, and it's more important than I thought.

When it comes to software testing, the first thing to think about is black-box testing and white-box testing, which is the first two testing methods in software testing.

Black box test: The functional design specifications of a known product can be tested to verify that each implemented function meets the requirements.

White Box testing: The internal working process of a known product can be tested to prove that each internal operation complies with the design specifications and that all internal components are inspected.

The black box test of the software means that the test should be carried out at the interface of the software, this method is to see the test object as a black box, the tester does not consider the internal logic structure and internal characteristics of the program, only according to the program requirements specification, check the function of the program is consistent with its function description. As I understand it, it is to design some input data to see if the output data is the expected data. If not, then there is a bug in this part. When designing input data, refer to the functions it implements to design the data, covering as much of the functionality as possible and the boundaries.

The software's white-box test is a detailed examination of the procedural details of the software. This approach is to think of the test object as an open box, which allows the tester to design or select test Cases and test all the logical paths of the program, using the logical structure within the program and related information. Determine whether the actual state is consistent with the expected state by checking the program state at different points. When designing the input data, this kind of test, because the structure inside the program is known, should be tested at least once for all the independent execution paths of the program module, mainly to test the boundary of the loop and the running bounds.

Software Testing-1

Related Article

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.