NLP-based system test case automatic generation method

A technology for automatic generation and system testing, applied in software testing/debugging, error detection/correction, natural language data processing, etc., to reduce work intensity, improve test efficiency, and lower technical threshold

Active Publication Date: 2018-03-23
CHINA HELICOPTER RES & DEV INST
View PDF4 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a kind of NLP-based system test case automatic generation method, to solve at least one problem that existing test case generation method exists

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
  • NLP-based system test case automatic generation method
  • NLP-based system test case automatic generation method
  • NLP-based system test case automatic generation method

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment 2

[0077] Test case 2, on the digital map navigation page, by setting different external inputs, observe whether the heading is displayed normally when the display range is outside, up and inside the lower boundary -180.0, and above and outside the upper boundary 179.

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 relates to the software test field, in particular to an NLP-based system test case automatic generation method. The method comprises the steps that a software requirement document is preprocessed; the NLP technology is utilized to perform word segmentation and semantic analysis on information obtained after preprocessing; a test case template containing a specific keyword is constructed, and the analysis result is matched with the keyword template; and according to a keyword logic sequence and the test case template obtained through matching, system test cases are automatically generated through keyword substitution. Through the NLP-based system test case automatic generation method, the software requirement document can be automatically processed to obtain a software requirement with semantic logic, and the technical threshold is low; the system test cases of a specific template can be automatically generated according to software project knowledge accumulation, and thestandardability of test case design is improved; the system test cases can be automatically generated according to the software requirement document, software test efficiency is improved, and the working intensity of testers is lowered.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a method for automatically generating system test cases based on NLP. Background technique [0002] Software testing is an indispensable link in the software development cycle, and usually takes up more than half of the time and cost in the software development process. According to the traditional V-model of software development, software testing activities can be divided into unit testing, integration testing, system testing and acceptance testing, etc. Each testing activity needs to complete a lot of test case design and writing work. Realizing the automatic generation of test cases can effectively improve the test work efficiency. [0003] Common test case automatic generation technologies are symbolic execution, model-based generation, and formal method-based, etc. Symbolic execution is a method of program analysis, mainly used for automatic generation of unit test cases. ...

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/36G06F17/27
CPCG06F11/3684G06F40/289G06F40/30
Inventor 孟浩
Owner CHINA HELICOPTER RES & DEV INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products