Testing method and device and computer readable storage medium

A test method and test case technology, applied in computing, software testing/debugging, error detection/correction, etc., can solve problems such as increased labor costs and low test case completeness

Pending Publication Date: 2019-08-23
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 43 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the generation of test cases and test scripts requires testers to use a scripting language to write, thereby increasing labor costs; and the test cases are directly generated by the model, the completeness of the model determines the completeness of the test case, when the constructed model cannot fully restore the requirements When , it is easy to cause the completeness of the test case to be too low

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
  • Testing method and device and computer readable storage medium
  • Testing method and device and computer readable storage medium
  • Testing method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0087] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0088] See figure 1 , is a schematic diagram of a test method provided by an embodiment of the present invention. Before the software is released, the stability of the software can be guaranteed by testing the software. Such as figure 1 As shown, the entire testing process of the software can be completed by a testing device, and the testing device can include a terminal side and a background service side. Before testing the software, it is necessary to sort out...

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 discloses a testing method and device and a computer readable storage medium, and the method comprises the steps: obtaining a demand document based on a natural language, and converting the demand document into structured demand data; obtaining a test execution unit contained in the structured demand data, converting the structured demand data into a directed graphaccording to the test execution unit, traversing paths contained in the directed graph, and generating a test scene set corresponding to the structured demand data; and obtaining service constraint information contained in each test scene in the test scene set, generating a test case corresponding to each test scene according to the service constraint information, and generating a test script corresponding to the test case according to a test execution unit in the test case. By adopting the embodiment of the invention, the labor cost can be reduced, and the completeness of the test case can beimproved.

Description

technical field [0001] The present invention relates to the field of software testing, in particular to a testing method, device and computer-readable storage medium. Background technique [0002] With the rapid development of the Internet, the frequency of users using services provided by software developers is increasing. Before the software is released, in order to ensure the stability of the software, a series of tests can be carried out on the software. [0003] Existing test methods can model the system through scripting language, generate test cases according to the built model, connect adapters, and use the generated test cases as data to drive the system under test to perform tests. Since the generation of test cases and test scripts requires testers to use a scripting language to write, thereby increasing labor costs; and the test cases are directly generated by the model, the completeness of the model determines the completeness of the test case, when the constru...

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 TENCENT TECH (SHENZHEN) CO LTD
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