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

Test case generation method and device and server

A test case and use case technology, applied in the field of testing, can solve problems such as limited test functions and inability to obtain expected results, and achieve the effect of expanding test functions

Active Publication Date: 2019-06-25
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of interface testing, a large number of test cases are needed to test the interface of the software system more comprehensively; test cases are usually generated by case generators, such as AllPairs; however, the existing case generators usually only have test cases Generate functions, but the expected results corresponding to each test case cannot be known, resulting in limited test functions

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. the embodiment. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0030] In the process of interface testing, test cases are usually generated by a case generator, which can also be called an automatic test case generation tool; a case generator generates test cases according to the test requirements of the software system, and a test case simulates an interface. case, so as to obtain the feedback data of the interface under the test case test; whe...

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 case generation method and device and a server. The method comprises the steps of obtaining a test demand of a to-be-tested business object; setting a plurality of test parameters according to test requirements; wherein each test parameter comprises a plurality of parameter values; generating a plurality of test cases and an expected result corresponding to each testcase according to the plurality of parameter values corresponding to each test parameter; wherein each test case comprises at least one parameter value of each test parameter. According to the test case generation method and device, the corresponding expected result is generated while the test case is generated, the test requirements of white box tests and the like needing the expected result of the test case are met, and therefore the test function of the test case is expanded.

Description

technical field [0001] The invention relates to the technical field of testing, in particular to a method, device and server for generating test cases. Background technique [0002] Interface testing is usually applied in the development process of software systems, mainly testing the interfaces provided by the software system to the outside or the interactive interfaces inside the system to verify the correctness and stability of the interfaces. Specifically, the interface test can be divided into various test types, for example, function test, stress test, performance test, etc. Existing interface tests mainly rely on existing testing tools, such as stress testing tool Jmeter, system behavior and performance load testing tool loadrunner, etc. [0003] In the process of interface testing, a large number of test cases are needed to test the interface of the software system more comprehensively; test cases are usually generated by case generators, such as AllPairs; however, ...

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
Inventor 李倩
Owner BEIJING KINGSOFT CLOUD NETWORK TECH 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