The Art of software testing

Source: Internet
Author: User

1. Software testing, is a process or a series of procedures, to confirm that the computer code to complete its functions should be completed, do not perform its actions should not.

The goal of the test investment is to maximize the number of problems found by using limited test cases to achieve the best results.

2. Testing is the process of executing a program to detect errors.

The software does what it should do, not what it should not do.

Software testing is a destructive process, even an "abusive" process.

3. Black-Box testing and white-box testing are two of the most common strategies.

Black box testing: Also known as data-driven testing or input/output-driven testing.

When using this test method, the program is treated as a black box. The test target is completely unrelated to the internal mechanism and structure of the program, but focuses on the environmental conditions in which the Discovery program does not operate as it is regulated.

White Box testing: Also known as logic-driven testing, allows us to examine the internal structure of a program.

This test strategy examines the logical structure of the program and obtains the test data from it. (Unfortunately, the specification of the program is often ignored)

4. Principles of Software Testing

1. A required part of the test case is the definition of the expected output or result 2. Programmers should avoid testing their own programs 3. The organization that writes the software should not test the software that it writes 4. The execution results for each test should be thoroughly reviewed 5. The test case should be written not only on the basis of valid and predictable input, but also on the invalid and unanticipated input 6. Check whether the program "did what it should do", only half of the test The other half of the test is whether the program "did what it should not do"7. The test case should be avoided, the user discards, unless the software itself is a one-time software 8. When you plan your testing, you should not acquiesce in the assumption that you will not find error 9. The possibility of more errors in a part of the program is proportional to the number of errors that have been found in the modified section 10. Software testing is a highly creative and intellectually challenging job

The Art of software testing

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.