Unlock instant, AI-driven research and patent intelligence for your innovation.

Testing method and device

A test method and test case technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as low test efficiency and achieve the effect of improving efficiency

Active Publication Date: 2020-08-04
BANK OF CHINA
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, the execution order of the test cases is determined by the tester based on experience. Since the execution order determined by the tester is artificially subjective, the execution order determined by the tester often leads to low test efficiency.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Testing method and device
  • Testing method and device
  • Testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0040] figure 1 A test method provided for the embodiment of this application may include the following steps:

[0041] S101. Obtain a test case sequence.

[0042] In this embodiment, the test case sequence includes a plurality of sequentially arranged test cases.

[0043] The specific implementation manner of obtaining the test case sequence may be: determining the test case library corresponding to the test object, and randomly sorting all the test cases included in the test cas...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a test method and device. The method comprises: for a test case sequence, if two adjacent test cases in the test case sequence meet a preset first condition or a preset second condition, determining that the test case sequence is the same as the test case sequence; and if yes, exchanging the sequence of two adjacent test cases until two adjacent test cases meeting the firstcondition or the second condition do not exist in the test case sequence, and finally executing the test cases according to the sequence of the test cases in the test case sequence. The first condition is that in two adjacent test cases, the expected result of the next test case is associated with the initial state of the previous test case, and through the first condition, the preparation time for executing the initial state for the next test case can be reduced, so that the test speed can be increased. The second condition is that the priority of the next test case is higher than that of theprevious test case, and errors of more test objects can be found in limited time through the second condition, so that the test efficiency can be improved.

Description

technical field [0001] The present application relates to the field of software testing, in particular to a testing method and device. Background technique [0002] With the development of science and technology, software products are widely used in all walks of life. In order to ensure the quality of software output, software product testing is required. A test case is a description of a specific software product testing task, and a document embodying test schemes, methods, techniques and strategies. [0003] Since the execution order of test cases is related to test efficiency, in the process of software testing, each test case included in the test case set is usually executed sequentially according to a certain execution order. In the prior art, the execution order of the test cases is determined by the testers based on experience. Since the execution order determined by the tester is subject to human beings, the execution order determined by the tester often leads to lo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688Y02D10/00
Inventor 李宁馨
Owner BANK OF CHINA
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More