Software testing: My classroom Feeling "one"

Source: Internet
Author: User

There is no perfect code that means that we are constantly optimizing to get closer to perfection, so software testing is especially important.

In the previous concept I have always thought that software testing is done after the completion of the software, after two sessions I have a new understanding of software testing.

The purpose of software testing is to evaluate the properties or abilities of a program or system, and to determine that it conforms to its own desired results.

A few lines of code can have a lot of problems, not to mention the large-scale projects in million-unit lines.

There are many ways to test software,

White Box testing: Understand the internal logic structure of the program and test all logical paths.

Black box test: Only check whether the program function is normal use according to the requirements specification, whether the program can receive input data properly and produce the correct output information.

Partitioning equivalence classes:

Refers to a subset of an input field. In this sub-collection, each input data is equivalent to the error in the disclosure program, and it is reasonable to assume that: testing the representative value of an equivalence class is equal to the test of this class of other values, therefore, all input data can be reasonably divided into several equivalence classes, Taking one data in each equivalence class as the input condition of test can get good test result with a few representative test data.

Software testing: My classroom Feeling "one"

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.