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

Method, system, device, terminal, medium and application for generating software test cases

A test case and software testing technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., to solve problems such as difficulty in guaranteeing test case coverage, lack of rationality and operability, and data error coverage, etc. Achieve the effect of controllable test coverage, easy expression and communication, quality and efficiency improvement

Active Publication Date: 2022-01-28
神州数码融信软件有限公司
View PDF23 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] (1) In the existing test case generation method, it is necessary to manually distinguish the data classification, and for the same kind of data, the first priority coverage method is adopted, which requires manual identification and operation in the process, and adopts the form of direct coverage , the operation is cumbersome, and there are cases of data omission and data error coverage
[0011] (2) In the existing test case generation method, errors with a certain probability may occur in the specific use process, and the same steps are inaccurate in execution
[0012] (3) In the existing test case scoring model training method, the model is trained by combining multiple participants, the model is trained based on a large number of sample data, and the test cases are directly generated. The operation is cumbersome, and after the system under test changes, Whether the historical test cases are still valid, there are many uncertainties
And it is not reasonable and operable to predict the new defect discovery rate based on the historical defect discovery rate in the process of rapid software iteration
[0013] The difficulty of solving the above problems and defects is as follows: the current software testing industry mainly has the following problems: the scale of software is getting larger and the functions are becoming more and more complex, how to conduct sufficient and effective testing has become a difficult problem; object-oriented development technology is becoming more and more popular , but the object-oriented testing technology has just started; the automation in the testing process is often concentrated in the test execution stage, the coverage rate of test cases is difficult to guarantee, and use case redundancy and omissions are prone to occur

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
  • Method, system, device, terminal, medium and application for generating software test cases
  • Method, system, device, terminal, medium and application for generating software test cases
  • Method, system, device, terminal, medium and application for generating software test cases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0070] Aiming at the problems existing in the prior art, the present invention provides a method, system, device, terminal, medium and application for generating software test cases. The present invention will be described in detail below in conjunction with the accompanying drawings.

[0071] Such as figure 1 Shown, the generation method of the test case that the present invention provides comprises the following steps:

[0072] S101 , analyze the test factors based on the test operation process, and analyze the forward and reverse values.

[0073] S102. Select two or more test factors to combine, and form a composite te...

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 belongs to the technical field of computer software testing, and discloses a method, system, device, terminal, medium and application for generating software test cases. The generating method analyzes the test factors based on the test operation process, and analyzes the forward direction and the reverse direction. value; select two or more test factors to combine, and form a composite test factor after screening; establish an operation flow chart model, use test factors as nodes, and test factor values ​​as connections to form paths between nodes. Configure relevant attributes in the path; generate test cases according to the branches in the flow chart and the configuration items in the nodes. The method provided by the invention reduces the difficulty and workload of test case generation. By establishing an operation flow chart model and using a unified and standardized method to directly generate test cases, the quality of the generated test cases is stable and reliable, the generation efficiency is high, and the consistency of test cases is improved. performance, thereby improving test quality and efficiency.

Description

technical field [0001] The invention belongs to the technical field of computer software testing, and in particular relates to a method, system, equipment, terminal, medium and application for generating software testing cases. Background technique [0002] In the field of computer software testing, the entire testing process is usually completed through test requirement analysis, use case design, and then use case execution and test result analysis. At present, in the work of test requirements analysis and use case design, it is completely done manually, and the work results are completely dependent on the testers' understanding of business knowledge and the accumulation of test work experience. Therefore, the test analysis process is a black box, and the test quality has great uncertainty. In the traditional manual design and writing of use cases, the business knowledge and analysis process rely on personal ability and experience; the design and selection of use cases is ...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 宋京赵晋金忠李锋
Owner 神州数码融信软件有限公司
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