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

A highly automated software testing method based on uml diagram

A software testing method and advanced technology, applied in the direction of software testing/debugging, etc., can solve problems such as frequent changes in test requirements, high test work intensity, and difficult use case maintenance, so as to reduce test omissions, increase test work intensity, and improve test performance. speed effect

Inactive Publication Date: 2018-01-09
STATE GRID CORP OF CHINA +3
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the software agile development mode, version iterations are frequent, test requirements are frequently changed, use case maintenance is difficult, and test work is intensive. How to effectively shorten the regression test cycle, improve test case coverage, and reduce defect omissions has become a test Areas of focus and problems to be solved

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
  • A highly automated software testing method based on uml diagram
  • A highly automated software testing method based on uml diagram
  • A highly automated software testing method based on uml diagram

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0029] A highly automated software testing method based on UML diagrams, including automatic test case generation steps and test case automatic execution steps:

[0030] S1, such as figure 1 As shown, the automatic test case generation steps include:

[0031] S11. Analyze the requirements and design of the software system to be tested, and generate a system module set.

[0032] S12. Determine keywords for system operation, these keywords are similar to "click", "input", "copy" and "paste" and so on;

[0033] Write component functions for these keywords that can be used for interface operations, and the parameters of these component functions are interface object names.

[0034] S13, draw the UML activity diagram of each module of the software system to be tested, according to the determined keyword and the interface object name in the step S...

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 present invention provides a highly automatic software testing method based on a UML diagram, which comprises the test case automatic generating step and the test case automatic executing step. According to the present invention, by analysis on the UML diagram, combination of a combined coverage algorithm and a keyword calling rule, a test case with higher error-detecting capacity and high coverage completeness is automatically generated; and the testing process is highly automatic, the testing speed is greatly improved, testing omission is reduced, error detection is high, the coverage rate is large,a response speed is high, the case is simple to maintain, the highly automatic software testing method is particularly suitable for the agile development mode with a short software iteration cycle and high testing working intensity, and working intensity of software function testing personnel can be greatly reduced.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a highly automated software testing method based on UML diagrams. Background technique [0002] Software testing is to run the system or application program under preset conditions and evaluate the running results. The preset conditions should include normal conditions and abnormal conditions. Usually, after the test case is designed and passed the review, the tester executes the test step by step according to the procedure described in the test case, and obtains the comparison between the actual result and the expected result. The test process is driven by humans. In this process, in order to save manpower, time or hardware resources and improve test efficiency, the concept of automated testing is introduced. Automated testing is a process in which programs automatically execute tests. [0003] At present, the research work on automated testing in the industry mainly f...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 吴斌刘朋熙夏同飞汪春燕李浩杨金凤
Owner STATE GRID CORP OF CHINA
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