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

Regression test case selection method based on improved harmony search algorithm

A technology of regression testing and search algorithms, applied in software testing/debugging, computing, special data processing applications, etc., can solve problems such as the increase in the number of test cases, achieve the effect of reducing testing costs and improving regression testing efficiency

Inactive Publication Date: 2015-01-28
DALIAN JIAOTONG UNIVERSITY
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the software life cycle, in order to fix software errors or respond to changes in customer requirements, it will be frequently modified and new versions will be continuously released, resulting in a sharp increase in the number of test cases accumulated in the test case library

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
  • Regression test case selection method based on improved harmony search algorithm
  • Regression test case selection method based on improved harmony search algorithm
  • Regression test case selection method based on improved harmony search algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] Embodiment 1: a kind of regression test case selection method based on improved harmony search algorithm mainly comprises the following steps:

[0034] The first step: obtain the information of the test case, at least obtain the information of each test case coverage function: in the present invention, the necessary information of the test case is obtained by means of source code insertion.

[0035] Before testing, first perform source code instrumentation on the modified program to be tested. The stub probe inserted into the source code is responsible for collecting test case information, and storing the captured test case execution path, execution time and other relevant information in the database. These actual running information create conditions for the optimal selection and coverage analysis of test cases. On the basis of source code instrumentation, the entry of test cases can be completed by running the test cases in the original baseline test case library T0....

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 regression test case selection method based on an improved harmony search algorithm. The regression test case selection method includes the steps: firstly, screening a test case of a sensitivity function covering modification from a selected test case set; secondly, selecting a proper case selection mathematical model according to the selected test case; thirdly, optimally selecting the test case by the improved harmony search algorithm with an excellent harmony element database EEL. The excellent harmony element database EEL is updated once every a certain search algebra and stores excellent harmony elements, and the excellent harmony elements include intersection of sets comprising overall goal optimal harmony elements and suboptimal harmony elements, and intersection of sets comprising sub-goal optimal harmony elements and suboptimal harmony elements.

Description

technical field [0001] The invention relates to a method for selecting a use case in a regression test, in particular to a method for selecting a use case for a regression test based on an improved harmony search algorithm. Involving patent classification number G06 calculation; calculation; counting G06F electrical digital data processing G06F11 / 00 error detection; error correction; monitoring G06F11 / 36 preventing errors through software testing or debugging. Background technique [0002] Regression testing refers to retesting after modification of existing software to confirm that the modification does not introduce new errors or have side effects on existing unmodified modules. As an important part of the software life cycle, regression testing occupies a considerable proportion in the entire software testing work, and is of great significance to ensure software quality. [0003] In the software life cycle, in order to fix software errors or respond to changes in custome...

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/36G06F17/30
Inventor 黄明郭书杰梁旭
Owner DALIAN JIAOTONG UNIVERSITY
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