Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

On passing Test and failure Test

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

In the software testing technology, there is no mention of passing the test and failure test in the existing test method and test technology.

However, in the actual project testing process, many project teams apply this method again. Although this method is adopted, many people do not understand the passing test and failure test thoroughly, and do not follow the uniform label in the actual use process. Many test engineers only use the test method with this name in their own projects, but do not understand that if the method can be used, that is to say, it is still the well-known test method before, such as boundary value, equivalence class and so on.

The purpose of this paper is to discuss this method with you, hoping to give it a next standard and standardize the design of the test method in practical application.

Pass the test: execute the test suite as the name implies, and the results should be pass and correct.

For example:

The user name in the login box is required to be in English

Enter the user name in English, click login should be given to successfully log in to the system.

Failed tests: execute a set of failed test cases, and the test results should be those that return (expected) failed (fail).

That is, to execute a failed test case is to get the expected error prompt by executing the test case.

For example:

The user name is not allowed to be numeric. If an error is given for the requirement of the digital system, it can be set as a failed test case.

That is, enter the user name as a number, click to log in should give an error prompt.

Take a simple example:

QQ login interface

The requirements are as follows:

1. The qq number must be a number.

2. If the qq number is not a number, an error message should be given when you click to log in to prompt the user.

Then pass test cases and failed test cases should be set as follows.

Pass the test case

Failed test case

Therefore, in the design of test cases, according to the requirements, we can first design pass test cases and failure test cases, and then on this basis, through boundary values, equivalence classes and other night test cases.

In this way, the speed of designing test cases and work efficiency can be greatly improved.

The above is just my own summary, there is inappropriateness, welcome to communicate.

This article is related to learning courses.

Http://edu.51cto.com/lecturer/user_id-968349-page-3.html

Attention to the complete curriculum system

Http://edu.51cto.com/lecturer/user_id-968349-page-3.html

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report