The law of Construction read note 07-Software Testing

Source: Internet
Author: User

before reading the software test, I think the software test is not important, even can be omitted. But after reading this part, I deeply realize that software testing is very important and necessary for development. Here's a brief introduction to software testing. first, the Basic terminology interpretation and classification1, bug: Software defectsbugs can be divided into these three components: symptoms (symptom), program errors (Fault), root cause (root cause). (1) Symptom: From the user's point of view, the software what is the problem. For example, when you enter (3 2 1 1), the program incorrectly exits. (2) Fault: From the point of view of the code, what errors in the code lead to problems with the software. For example, the code accesses an illegal memory address--0x0000000c in a situation where it is entered. (3) root cause: The root cause of the error, which causes the code to be wrong. N For example, the code does not correctly judge the case of Id1==id2, and thus refers to a variable with an unassigned initial value, resulting in the above situation. 2. Test Case: Testing casesThe test case describes a complete test process, including the test environment, input, desired results, and so on. 3. Test Suite: Testing case Setthat is, a set of related test cases. Ii. Classification of test methodsblack box: In the design test process, the software system as a "black box", unable to understand or use the system's internal structure and knowledge. A more accurate statement is "behavioral test Design", which designs tests from the behavior of the software, not the internal structure. White Box: In the process of designing tests, the designer can "see" the internal structure of the software system and use the internal knowledge of the software to guide the selection of test data and methods. 1. Test method Classification-functional classification        2. Test method Classification-non-functional classification      3. Test method Classification-purpose test     4. Test method Classification-Test mode    third, the test matrix   

The law of Construction read note 07-Software Testing

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.