Pairwise overlay integrated software test case suite generating method

A test case set, software testing technology, applied in software testing/debugging and other directions

Inactive Publication Date: 2011-07-27
XIAN UNIV OF POSTS & TELECOMM
View PDF1 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But applying the DPSO algorithm to the problem

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
  • Pairwise overlay integrated software test case suite generating method
  • Pairwise overlay integrated software test case suite generating method
  • Pairwise overlay integrated software test case suite generating method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] Taking the pairwise coverage combination test case set generation of a software system under test as an example, combined with figure 1 The embodiment of the method for generating pairwise coverage combination test case sets of the present invention is specifically described.

[0055] The four factors affecting the SUT of the software system under test and their possible values ​​and a constraint between the factors are obtained from the test requirements specification of a software system under test as follows:

[0056] Factors and their possible values:

[0057] Database: DB / 2, Oracle

[0058] Client: Firefox, IE, Opera, Google

[0059] WebServer: WebSphere, Apache, NET

[0060] OS: windows, linux

[0061] The constraints between parameters are:

[0062] if([Client]=="IE") then([OS]!="linux")

[0063] Factors can be represented by a set F as F={Database, Client, WebServer, OS}, the number of factors affecting the software system to be tested is 4, the first fact...

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 invention discloses a pairwise overlay integrated software test case suite generating method regarding the generation problem of pairwise overlay integrated test case suite in an integrated software test. The method is inspired by discrete particle swarm optimization, and a particle represents a test case suite, wherein different particles represent different test case suite generation schemes, the overlaying condition of the test case suite on each factor integration is evaluated overall; regarding particle position updating, the individual position of next generation is generated by utilizing the number of occurring times of the discrete value of each factor in each test case suite as basis; and acquiring the test case suite which fulfills restriction and overlays all factor integrations. Compared with the conventional method, the invention provides the pairwise overlay integrated software test case suite generating method which is independent of the initial value, and has the advantages of high convergence speed, small calculation quantity, good stability and small integral scale of the generated test case suite, so that the software testing efficiency is improved, and the testing cost is reduced.

Description

technical field [0001] The invention belongs to the technical field of software testing, specifically relates to the generation of test case sets in combined software testing, and provides a method for generating test case sets for pairwise coverage combined software, which mainly solves how to use as much as possible according to actual needs in software testing. As few test cases as possible to cover each factor in the software system and the corresponding pairwise coverage combination, and systematically detect the impact of the interaction between them on the system, so as to ensure the error detection ability of the test case set. In order to reduce the number of test cases as much as possible, improve the efficiency of software testing and reduce the cost of testing. Background technique [0002] As an important means to ensure software quality and reliability, software testing runs through the entire process of the software life cycle and occupies an important positio...

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
IPC IPC(8): G06F11/36
Inventor 孙家泽王曙燕张荣宋辉王小银孟伟军
Owner XIAN UNIV OF POSTS & TELECOMM
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