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

Method and device for generating test case

A technology for generating test cases and test cases, which is applied in the computer field and can solve problems such as heavy workload, reduced test accuracy, and high labor costs

Active Publication Date: 2020-05-29
RUITING NETWORK TECH (SHANGHAI) CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventor found that the manual writing of test cases by technicians requires a lot of work, resulting in high labor costs, and because the test cases are written manually, it is easy to make mistakes in writing, which will reduce the accuracy of the test

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 and device for generating test case
  • Method and device for generating test case
  • Method and device for generating test case

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0101] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0102] refer to figure 1 , which shows a flow chart of the steps of a method for generating test cases of the present application, the method may specifically include the following steps:

[0103] In step S101, a function to be tested is determined among a plurality of functions in the computer program file;

[0104] In this application, computer program files include files including computer codes written in a development environment, such as ".class" files and the like. There is usually at least one function in a written computer program file.

[0105] Sometimes it is necessary to test at least one of the functions. For example, when a BUG (hole) occurs when the function processes data, it is necessa...

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 method and a device for generating a test case. Electronic equipment can automatically generate the test case, and a technician does not need to manually compile the test case, so that the workload of the technician is reduced, and the labor cost is reduced. The test case does not need to be compiled manually, so that errors caused by manual compiling can be avoided, andthe test accuracy is prevented from being reduced. For example, when a to-be-tested function is subjected to a BUG test, if a technician manually compiles a test case, under the condition that the test function names and the corresponding test function values are more, the situation that the plurality of test function names and the test function values are confused manually is likely to occur, andthus compiling errors are caused. And human participation is not needed, and the test cases are automatically compiled in the whole process, so that the situation of human errors can be avoided as much as possible. The electronic equipment automatically compiles the test cases frequently, and the consumed time is short, so that the efficiency of compiling the test cases can be improved, and the test efficiency is further improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for generating test cases. Background technique [0002] After developing a piece of software, it is sometimes necessary to test the software, for example, to test the functions written in the computer language in the software. [0003] Currently, when a function in the software needs to be tested, technicians are required to manually write test cases. [0004] However, the inventors found that the manual writing of test cases by technicians requires a lot of work, resulting in high labor costs, and because the test cases are written manually, mistakes are prone to occur, which in turn reduces the accuracy of the test. Contents of the invention [0005] In order to solve the above technical problems, the present application shows a method and device for generating test cases. [0006] In a first aspect, the present application shows a method fo...

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/36G06F40/186
CPCG06F11/3684Y02D10/00
Inventor 陈盼盼
Owner RUITING NETWORK TECH (SHANGHAI) 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