Software testing Technology The first week of Classroom essay Records

Source: Internet
Author: User

Written before, this is the software testing technology of the classroom essay, recorded some of the content described in the class.

One, because it is the first week class, inevitably talk about the definition of software testing: what is software testing.

Software testing is an important part of the software development process, which is the process of verifying and validating software products (including phased products) throughout the software development life cycle, with the aim of discovering the problems in software products as soon as possible--with user requirements, pre-defined inconsistencies. -----------------Baidu Encyclopedia.

The personal understanding of the moment is: 1, to find a bug. 2, find out the difference between the demand and the actual.

Second, the software testing common test methods:

From the point of view of testing for software architecture and algorithms:

1. White Box test

White box testing [1] also known as structural testing, transparent box testing, logic-driven testing, or code-based testing. White box testing is a test case design method, the box refers to the software being tested, the white box refers to the box is visible, you know what the inside of the box and how it works. The White box method thoroughly understands the internal logic structure of the program and tests all logical paths. The "white Box" method is a poor lift path test. When using this scenario, the tester must examine the internal structure of the program, starting with the logic of the checker and drawing the test data. The number of independent paths through the program is astronomical. -----------Baidu Encyclopedia.

In class: You can clearly understand the code structure of the program, can be intuitive to analyze the accuracy of the program, and then a clear test.

2. Black box test

Black-Box testing is also known as functional testing, and it is tested to see if each feature is working properly. In the test, the program as a black box can not be opened, regardless of the internal structure of the program and internal characteristics of the case, in the program interface testing, it only checks whether the program function in accordance with the requirements of the specification of the normal use, the program can properly receive input data and produce the correct output information. Black box testing focuses on the external structure of the program, regardless of the internal logical structure, mainly for the software interface and software function testing.

The black box test is based on the user's point of view, from the input data and output data corresponding to the relationship between the test. Obviously, if the external characteristics of the design of the problem or specification is wrong, the black box test method is not found. ---------------------Baidu Encyclopedia

In class: No program code structure, only through the program's input and output analysis to understand the program.

Does the test program follow the basic requirements, whether the condition is missing, whether an interactive error occurs, and the program is started and closed multiple times to facilitate testing for errors that may occur at initialization and end.

Three, test ternary: STP

S: Specification

T: Use Cases

P: Program (observed)

The idealized degree is: The use case contains the program contains the specification.

It may actually be that three elements intersect and differ from each other.

The effort to develop it to an idealized level is the goal of the software testers.

Iv. about equivalence classes

Valid equivalence classes and invalid equivalence classes.

Choose a valid equivalence class method: As much as possible, the effective equivalence classes are put together.

Select invalid equivalence class method: Each time an invalid equivalence class is put together with a valid equivalence class.

Observe the results of the test again.

V. Classroom Practice

1, about the parameters of the field and overflow problems. Clearly grasp and understand the scope of various parameters, as far as possible to avoid its overflow problem arises.

2, C language of the error-free content of the conversion, only simple replacement without any prior operation.

Software testing Technology The first week of Classroom essay Records

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.