Method and device for screening test cases

A test case and screening method technology, applied in software testing/debugging, etc., can solve the problems of unsatisfactory test results, regression test can not take into account the test efficiency and effectiveness of test cases, so as to avoid the execution of a large number of redundant test cases and save The effect of test time

Inactive Publication Date: 2014-02-12
SHENZHEN SHI JI GUANG SU INFORMATION TECH
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a test case screening method, aiming to solve the problem that the existing regression test cannot take into account the test efficiency and the validity of the test case, resulting in unsatisfactory test results

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 device for screening test cases
  • Method and device for screening test cases
  • Method and device for screening test cases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0018] In the embodiment of the present invention, by obtaining the association relationship between each line of code and the test case, when the code changes, the test cases affected by the code change can be quickly and effectively screened out, and the regression can be carried out in a targeted manner. Test, and avoid the execution of a large number of redundant test cases, saving test time.

[0019] figure 1 The implementation flow of the test case screening method provided by the embodiment of the present invention is shown, and the details are as follows:

[0020] In step S101, the test c...

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 is suitable for the technical field of software testing and provides a method and a device for screening test cases. The method comprises the steps of respectively obtaining test cases associated with code lines, wherein the test cases cover the code lines associated with the test cases; when the code lines are changed, extracting the test cases associated with the code lines. By obtaining the associated relation between the code lines and the test cases, the test cases influenced by code changing can be screened quickly and effectively when codes are changed, regression testing is performed in a targeted mode, execution of a large amount of redundant test cases is avoided, and test time is saved.

Description

technical field [0001] The invention belongs to the technical field of software testing, and in particular relates to a test case screening method and device. Background technique [0002] In the software life cycle, when changes such as code upgrades, version iterations, or bug fixes occur, regression testing is required to retest software functions to ensure that the above changes will not destroy the original functions of the software. [0003] However, in regression testing, if all test cases are executed, it will take a lot of testing time for large-scale software, and it is not feasible; if some test cases are selected based on risk, it will be impossible for testers to measure the impact of actual software changes. Therefore, the selection of test cases is blind, which may lead to a greater risk of functional logic omission. Therefore, the existing regression testing process cannot take into account the testing efficiency and the effectiveness of the test cases, resu...

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): G06F11/36
Inventor 潘晓宇陈鹏曹向博鲍海燕姜琳邓月堂樊华
Owner SHENZHEN SHI JI GUANG SU INFORMATION TECH
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