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

Information systems test combination generation method based on coverage density

A technology covering density and information systems, applied in the field of automatic generation of test cases for information systems, can solve the problems of increasing the number of test cases, increasing the number of parameters and values, etc., to improve efficiency, reduce time and space costs, and calculate simple method effect

Inactive Publication Date: 2008-08-06
NANJING UNIV
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are two limitations: first, the number of values ​​for each input parameter must be equal; second, for a specific number of parameters and values, there is no suitable orthogonal matrix, and the number of parameters and values ​​needs to be increased
These two limitations unnecessarily increase the number of test cases

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
  • Information systems test combination generation method based on coverage density
  • Information systems test combination generation method based on coverage density
  • Information systems test combination generation method based on coverage density

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The present invention can cover all pairwise combination test cases with as few test cases as possible under the condition of given input parameters and parameter values. Its workflow is shown in Figure 1: firstly, the input parameters and parameter values ​​(or equivalence class division) are described through XML files. Then specify the test cases that must appear and the pairwise combinations that must not appear. Finally, the test cases are generated by using the combination method based on coverage density, and expressed and output in the format of XML file.

[0018] By analyzing the specifications of the information system under test, testers can obtain the input parameters and possible values ​​of the parameters of the system under test. For example, in a simplified version of an e-commerce application system, it includes components such as client browser, Web server, router, payment server and database server, and its configuration structure is shown in Figure ...

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 composite generation method based on information system testing for coverage density, which adopts a framework (as shown) that: (1) input parameters and parameter values of information system to be tested are described through XML files according to the specification of the tested system; (2) the testing use cases needed to appear and the testing use cases which cannot appear through combination in pairs are assigned; (3) the values of all the input parameters are combined one by one on the basis of coverage density so as to generate a testing use case; (4) the testing use case finally generated is expressed and output in the format of the XML files. The composite generation method can be widely applied to embedded system testing, distributed system testing, web page testing, graphical interface testing, protocol testing, configuration and compatibility testing, etc., is easy to append constraints among the parameters and consider the parameter combinations needed to be covered, is easy to consider the priority among the parameters, is simple and effective in the calculation method of coverage density, and has good expansibility.

Description

technical field [0001] The invention relates to a method for automatically generating test cases of an information system. Under the condition of given input parameters and parameter values, the method can automatically generate test cases covering all pairwise combinations with as few as possible. The invention can be widely used in embedded system testing, distributed system testing, web page testing, graphical interface testing, protocol testing, configuration and compatibility testing and the like. Background technique [0002] Today's computer information systems are becoming larger and more complex. When testers test an information system, the system may have many input parameters (usually greater than 10), and each input parameter may have multiple different Value or equivalence class division (usually greater than 3). Before the information system is released to the market, it must be thoroughly tested in order to ensure its quality. [0003] Combined testing techn...

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): G06F9/44G06F11/36
Inventor 陈翔顾庆王新平陈道蓄
Owner NANJING UNIV
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