Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Test case processing method and system

A test case and processing method technology, applied in the field of data processing, can solve the problems of test quality reduction, wrong assertion expected value, test case accuracy reduction, etc., to achieve the effect of improving accuracy and improving fine-grainedness

Pending Publication Date: 2022-03-04
CHINA CONSTRUCTION BANK
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The current method of artificially setting static assertion expected values ​​cannot meet the growing demand for automated testing. At the same time, manual setting of assertion expected values ​​leads to wrong assertion expected values, resulting in a decrease in the accuracy and test quality of test cases.

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
  • Test case processing method and system
  • Test case processing method and system
  • Test case processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] 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.

[0064] In this application, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes none. other elements specifically listed, or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not...

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 discloses a test case processing method and system, and the method comprises the steps: determining a case type of a to-be-tested case, and obtaining a first assertion sequence expected value if the case type of the to-be-tested case is a performance test case type, the first assertion sequence expected value is used for detecting the execution condition of the to-be-tested case corresponding to the performance test case type, if the case type of the to-be-tested case is a functional test case type, a second assertion sequence expected value is obtained, and the second assertion sequence expected value is used for detecting the execution condition of the to-be-tested case corresponding to the functional test case type. According to the scheme, the assertion expected value does not need to be set manually, generation of a wrong assertion expected value caused by manual reasons is avoided, and the test accuracy and the test quality of the test case are improved. Besides, the to-be-tested cases of different case types are processed to respectively obtain the assertion sequence expected values corresponding to the different case types, so that the fine granularity of testing the test cases is improved.

Description

technical field [0001] The present application relates to the technical field of data processing, and more specifically, to a test case processing method and system. Background technique [0002] The accuracy of each case test directly affects the stable operation of the financial institution's business. Setting assertions on test cases during testing is a common practice for detecting the success or failure of test case execution. [0003] Assertion is a technical method used to compare whether the output value of a test case is consistent with the expected value, and its use is beneficial to improve code quality. Whether the asserted expected value is set correctly directly affects the test result. Currently, the expected value of an assertion is generally artificially set as a static value and bound to the test case. [0004] The current method of artificially setting static assertion expected values ​​cannot meet the growing demand for automated testing. At the same t...

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
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 万玉子刘爱辉宋育芳李淑凤
Owner CHINA CONSTRUCTION BANK
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products