Unlock instant, AI-driven research and patent intelligence for your innovation.

A Class Integration Test Sequence Generation Method Based on Transitive Dependency

A transfer dependency and integration testing technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as long time required and high testing cost

Active Publication Date: 2021-07-30
CHINA UNIV OF MINING & TECH
View PDF2 Cites 0 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 method for generating a class integration test sequence based on transitive dependencies, which solves the problem of "the test cost of the class integration test sequence generated by the existing method is high, and the time required for generating the class integration test sequence of a large-scale system is too long." long-term” problem, which greatly improves the efficiency of integration testing and ensures high usability

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 Class Integration Test Sequence Generation Method Based on Transitive Dependency
  • A Class Integration Test Sequence Generation Method Based on Transitive Dependency
  • A Class Integration Test Sequence Generation Method Based on Transitive Dependency

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to further understand the technical content of the present invention, the accompanying drawings are specially described as follows.

[0038] figure 1 It is a flowchart of a method for generating a class integration test sequence based on transitive dependencies according to an example of the present invention.

[0039] A method for generating class integration test sequences based on transitive dependencies. Firstly, the program is statically analyzed, and a transitive dependency model between classes is constructed to identify the transitive dependencies between classes. Then, the transitive dependencies between classes are calculated according to the probability that each calling statement is executed. The possibility of occurrence, that is, to control the coupling complexity, to measure the cost of building test stubs for transitive dependencies; after that, design a new test stub complexity calculation formula to calculate the test cost and test net income ...

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 class integration test sequence generation method based on transitive dependencies, which includes the following steps: 1) building a transitive dependency model between classes; 2) calculating the complexity of control coupling; 3) calculating the complexity of test stubs; 4) generating class integration test sequence. The invention solves the problem of "the test cost of the class integration test sequence generated by the current method is relatively high, and the time required to generate the class integration test sequence of a large-scale system is too long", and the invention can not only generate the test cost in a relatively short time The low-level integrated test sequence can provide testers with a variety of optional test solutions, which improves the efficiency of software testing and ultimately better controls the quality of software products.

Description

technical field [0001] The invention belongs to the technical field of software testing, and in particular relates to a method for generating class integration test sequences based on transitive dependencies. Background technique [0002] The software testing phase includes five parts, namely unit testing, integration testing, system testing, verification and validation, and regression testing. Among them, integration testing is a key step in the software testing phase to ensure that each module and subsystem can operate accurately and stably according to the expected goals. [0003] Common integration testing approaches include bottom-up, top-down, and sandwich approaches. These test methods conform to the characteristics of process-oriented programs, and can accurately and efficiently complete the integration test tasks of process-oriented programs. But for object-oriented programs, because the system lacks an obvious hierarchical structure and the calling relationship b...

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
CPCG06F11/3684
Inventor 姜淑娟张妙张艳梅姜丽
Owner CHINA UNIV OF MINING & TECH