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

Method and system of regression testing

A technology of regression testing and test cases, applied in the field of testing, can solve problems such as inflexibility and reduced efficiency of regression testing, and achieve the effects of improving efficiency, reducing the scope of regression testing, and reducing manual intervention

Active Publication Date: 2013-06-26
ALIBABA GRP HLDG LTD
View PDF1 Cites 47 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the field of regression testing, the existing technology is relatively rigid, that is, regression testing is performed on all preset systems at a certain time every day. If a system or a function needs to be regression tested immediately, manual intervention is required: the user needs to First log in to the test case management system, manually judge and select the test cases that need to be run, and then start it, which greatly reduces the efficiency of regression testing

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 system of regression testing
  • Method and system of regression testing
  • Method and system of regression testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0056] When it is necessary to perform a regression test on a certain system or a certain function immediately, because the scope of the regression test caused by the change of the code is not available in the original regression test plan, and the test case is not related to the changed code, so the existing Technology requires human intervention in selecting use cases for regression.

[0057] The inventor of the application has noticed this, and creatively proposed the inventive concept of the application:

[0058]1. This application automatically collects and analyzes all changed classes and methods whose codes have been changed, and further obtains all classes and methods that may be affected by chan...

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 provides a method and a system of regression testing. The method includes the steps of collecting changing codes, obtaining corresponding changing code information through analysis according to the changing codes, wherein the changing code information comprises changing classes and changing methods, conducting dependent analysis on the changing classes and the changing methods according to a preset incidence relation between classes and a preset incidence relation between methods, obtaining all the classes and all the methods, wherein the classes and the methods can be influenced by changing, obtaining a testing case corresponding to all the classes and all the methods capable of being influenced by the changing according to corresponding relations between the preset classes and the testing case and between the preset methods and the testing case, using the testing case as a regression testing case, executing the regression testing case and obtaining a corresponding case execution result. The method and system of the regression testing has the advantages of reducing manual intervention, achieving automation of the regression testing and improving efficiency of the regression testing.

Description

technical field [0001] The present application relates to the technical field of testing, in particular to a regression testing method and system. Background technique [0002] At each stage of the software life cycle, whether it is due to the modification of the defects of the software itself or the change of user requirements, targeted regression testing must be carried out on the software to check whether each modification or change can meet the user's needs. [0003] In large-scale software R&D enterprises, there are a large number of system and function updates every day, so changes such as the addition of a large number of codes are inevitable. [0004] In the field of regression testing, the existing technology is relatively rigid, that is, regression testing is performed on all preset systems at a certain time every day. If a system or a function needs to be regression tested immediately, manual intervention is required: the user needs to First log in to the test ca...

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 ALIBABA GRP HLDG LTD
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