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

Test case generation method and device and storage medium

A test case generation and test case technology, which is applied in the computer field, can solve the problems that it is difficult to completely cover user scenarios and test cases cannot fully conform to behavioral habits, so as to achieve comprehensive testing, reduce design work, and improve efficiency.

Pending Publication Date: 2021-04-09
PING AN SECURITIES CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the final designed test cases may not fully conform to the behavior habits of real users in production, and it is difficult to completely cover most user scenarios. There is an urgent need for a method that can generate test cases that conform to user behavior and have strong scenario coverage.

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 generation method and device and storage medium
  • Test case generation method and device and storage medium
  • Test case generation method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0048]The terms "first", "second" and "third" in the description and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.

[0049] Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the pre...

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 embodiment of the invention provides a test case generation method and device. The method comprises the steps of obtaining a user session set which comprises at least one user session; generating a user behavior sequence set according to the user session set, the user behavior sequence set comprising at least one user behavior sequence; processing the user behavior sequence set according to a behavior tree algorithm to generate a behavior tree, the behavior tree comprising N paths, one path being generated by one user behavior sequence, and N being is a positive integer; and selecting at least one path or a part of the at least one path from the N paths as a test case, wherein the test case is used for testing the application program. According to the embodiment of the invention, the test case conforming to the user behavior can be generated according to the user behavior data, and the scene coverage of the test case is enhanced.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a test case generation, device and storage medium. Background technique [0002] In front-end testing, a large number of test cases are needed to test the application to verify the performance of the application and optimize it. Currently, test cases are generally designed by testers based on personal experience, relying on the tester's ability to understand requirements documents; or test cases are also designed based on production logs, but the use of production logs is also limited to the repair of faulty parts. Therefore, the final designed test cases may not fully conform to the behavior habits of real users in production, and it is difficult to completely cover most user scenarios. There is an urgent need for a method that can generate test cases that conform to user behavior and have strong scenario coverage. Contents of the invention [0003] In view of the...

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/3688
Inventor 朱洁
Owner PING AN SECURITIES CO LTD
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