Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, apparatus and computer program product for testing code

A computer program and test code technology, applied in the field of test code of test code, can solve the problems of increasing the number of test cases, increasing the complexity of software testing, and achieving a satisfactory balance between coverage and test efficiency that cannot be tested by traditional solutions, etc.

Active Publication Date: 2020-06-05
EMC IP HLDG CO LLC
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] With the continuous increase of software scale and software complexity, the number of test points that need to be considered in software product testing continues to grow, which in turn leads to an exponential increase in the number of software product test cases, which intensifies the complexity of software testing.
Traditional solutions cannot achieve a satisfactory balance between test coverage and test efficiency

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, apparatus and computer program product for testing code
  • Method, apparatus and computer program product for testing code
  • Method, apparatus and computer program product for testing code

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment 7

[0063] In some embodiments, if it is determined that the target test case can add a new combination to the test case set, the target test case may also be added to the test case set based on user selection of the target test case. For example, a target test case may be recommended to the user for selection and added to the set of test cases in response to the user's selection.

[0064]Alternatively or additionally, whether to add the target test case to the test case set may also be determined based on the number of different combinations of test values ​​included in the test case set or the number of existing test cases included. In some embodiments, the number of combinations of targets (eg, targets of order 2 combinations or targets of higher order combinations) may be set or the number of test cases of a target may be set. When the number of different combinations or the number of test cases in the test case set has not reached the target, the target test case is added to ...

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

A method, device, and computer program product for testing code. The method includes identifying a plurality of test points in the code and a plurality of test values to be assigned to the plurality of test points. At least one of the plurality of test points is to be assigned with two or more test values. The method also includes comparing a target test case with a set of test cases. The target test case and the set of test cases are associated with the plurality of test points. The method further includes, in response to determining that each of combinations of the test values assigned to at least two of the plurality of test points in the target test case is present in the set of test cases, excluding the target test case from the set of test cases.

Description

[0001] Cross References to Related Applications [0002] This application claims priority to Chinese Patent Application No. 201510364946.0 filed on June 26, 2015. technical field [0003] Embodiments of the present disclosure relate to the field of software testing, and more particularly, to methods, apparatuses and computer program products for testing code and testing code. Background technique [0004] Software testing refers to running the code of a software product under preset conditions to evaluate whether the results are as expected. Software testers can simulate specific operating conditions by designing test cases, and then use the test cases to test software products. A test case may be associated with multiple test points (eg, variables included in the code) in the code of the software product. In different test cases, at least one test point among the plurality of test points may be assigned different test values. [0005] With the continuous increase of sof...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3668G06F11/3676G06F11/3664G06F11/3684G06F11/3688
Inventor 聂雄芳王全红周小强
Owner EMC IP HLDG CO LLC