Research on software Testing

Source: Internet
Author: User

  Software Testing is an audit or comparison between the actual output and the expected output to detect program errors, measure the quality of the software, and assess whether or not it can meet the design requirements. Software testing has become a critical and integral part of software processes, or in its own important position during software development, or its ontological position during software testing evaluation. In the software development process, any part of the implementation of the function must be supplemented by testing, with the test to better continue to the back of the function, and the development process without testing just as the eyes of the line, will only be more distant relative to the target.

The correct goal of software testing: to identify and eventually modify the program's errors. So do not test the program just to prove that the program is working correctly; instead, start by assuming that the program hides the error (this assumption is true for almost all programs), and then test the program to see as many errors as possible. Of course, we can't expect to find all the errors, even small programs, which generally cannot be found. All testers should have the right expectations. In order to properly address the problems posed by this test, we should identify some strategies before testing: black-box and white-box testing. 、

Black-box testing means that the program is not visible, the test target is completely unrelated to the internal mechanism and structure of the program, and the test program runs according to its specifications. According to this strategy, the test data is completely from the software specification, and the criterion is "exhaustive input test". However, according to the experience, the software specification often has huge or even infinite input, carrying out the exhaustive test becomes a bottomless pit, cannot realize. Therefore, the goal of the tester is to find the best test results by using limited and special test cases to maximize the problem of the program. To achieve this goal, you have to make reasonable assumptions about the program to identify meaningful use cases, where you need to be able to spy on the internal structure of the program.

The white box test allows us to examine the internal structure of the program and get the test data from it. The White box method thoroughly understands the internal logic structure of the program and tests all logical paths. The "white Box" method is the "exhaustive path test", which tests all possible control flow paths in the program to get a complete test.

Program testing is a creative and challenging task, and testing a large program often requires more creativity than the developer. Therefore, studying this subject is a must to correct attitude, can not be tasted, and can not be discussed with experience, should try to master the scientific method, in order to truly acquire skills to meet the challenges of the workplace.

Research on 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.