Method and device for automatically generating test scheduling based on use case dependencies

A test scheduling and dependency technology, applied in the direction of software testing/debugging, etc., can solve the problem that the selection and sorting of use cases cannot be fully automated, and achieve the effects of eliminating false positives of defects, improving accuracy and efficiency, and improving reliability

Active Publication Date: 2016-08-03
中移信息技术有限公司
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] In order to solve the above technical problems, the present invention provides a method and device for automatically generating test scheduling based on use case dependencies, which solves the problem that the selection and sequencing of use cases in current test scheduling cannot be fully automated

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 automatically generating test scheduling based on use case dependencies
  • Method and device for automatically generating test scheduling based on use case dependencies
  • Method and device for automatically generating test scheduling based on use case dependencies

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment ,3

[0061] In a specific embodiment of the present invention, such as the dependency relationship between test cases in Table 1 has the following characteristics, 1, there is a dependency relationship, 2, at least one test case does not depend on other test cases, 3, there is no closed-loop dependency . Consistent with the characteristics of a directed acyclic graph, so each test case is mapped to a node, and the dependency is mapped to a straight line with an arrow, and the dependency of the test case is mapped to a directed acyclic graph. The system user management function The directed acyclic graph of the test case map of figure 2 shown. According to the priority and dependency relationship of the test cases, the nodes in the directed acyclic graph are sorted, wherein the sorting rule is to sort the front nodes in the directed acyclic graph before the rear nodes, with the same Multiple post-nodes of a pre-node are arranged in descending order according to the priority.

[...

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 discloses a method and device for automatically generating test scheduling based on use case dependencies. The method comprises the steps of obtaining test cases required by a preset test task; obtaining dependencies among the test cases and pre-dependency types, and setting priorities for a plurality of test cases having the same top level according to the pre-dependency types, wherein the same top level represents depending on the same pre-case; and generating the test scheduling according to the dependencies among the test cases and the priorities of the test cases. According to the method for automatically generating the test scheduling, through managing the simple use case dependencies and the pre-dependency types, the test scheduling can be automatically generated, at the same time defect misdescription during a test process can be eliminated, reliability of scheduling execution is increased, efficiency of test result analysis is improved, and further accuracy and efficiency of automatic test work are improved.

Description

technical field [0001] The invention relates to the fields of software testing technology and automated testing technology, in particular to a method and device for automatically generating test scheduling based on use case dependencies. Background technique [0002] With the in-depth development of computer software automation testing, the requirements, use cases, and test task scheduling of automated testing are increasing and complex. However, due to the strict requirements of automated testing on test environments and test data, some issues about test execution efficiency have changed. The disease is becoming more and more serious and needs to be solved urgently; [0003] 1. The selection and execution sequence of use cases is manual, and the operation is complicated and easily leads to a low success rate of scheduling execution, and the requirements for testers are relatively high. The difficulty is even greater when the executive is not the use case writer or designer...

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 中移信息技术有限公司
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