Method and apparatus for determining test case in need of regression testing

A technology of test cases and regression testing, applied in software testing/debugging, etc., can solve the problems of reduced test efficiency, large subjective factors in the test regression range, test omissions and quality problems, so as to improve efficiency and accuracy, and avoid test omissions and quality problems, the effect of improving accuracy

Active Publication Date: 2016-02-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 47 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

The technical effect described in this patented technology allows users to determine whether new tests should undergo regression testing based solely upon their own knowledge about how well they were doing beforehand without having any previous experiences with them. This helps prevent errors from happening during subsequent experiments while ensuring accurate results may still have been achieved through changes made afterward.

Problems solved by technology

This patented technology describes two main issues with current methods for validating regression testing's effectiveness during software production processes. Firstly, it can only determine whether modifications are introduced without introducing any mistakes or causing incorrect results. Secondly, this method requires manual adjustment based upon trial-and-error rather than objective assessments like those provided through experimentation alone.

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 apparatus for determining test case in need of regression testing
  • Method and apparatus for determining test case in need of regression testing
  • Method and apparatus for determining test case in need of regression testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0026] Such as figure 1 As shown, it shows the network architecture of the implementation environment of the method for determining test cases requiring regression testing in the present invention. The system of the implementation environment may include a user terminal 10 , a background server 20 and a version management server 30 . Wherein, the background server 20 forms a wireless or wired connection with the version management server 30 . The version man...

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 method and an apparatus for determining a test case in need of regression testing and relates to the technical field of software testing. The present invention can increase the efficiency and accuracy of determining a test case in need of regression testing. The method comprises: acquiring a software code of a to-be-tested version and a software code of a baseline version; comparing the software code of the to-be-tested version and the software code of the baseline version to acquire a list of functions that are changed in the software code of the to-be-tested version relative to the software code of the baseline version, wherein the functions are defined according to a preset rule, and the functions are different from each other in the software code of the to-be-tested version or the software code of the baseline version; and according to the list of functions that are changed, searching for a pre-established correspondence between functions and test cases to obtain a test case in need of regression testing.

Description

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

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
Owner TENCENT TECH (SHENZHEN) CO LTD
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