White-box testing method and apparatus

A technology of white box testing and test cases, applied in software testing/debugging, error detection/correction, instruments, etc., to achieve the effect of improving efficiency

Active Publication Date: 2017-03-29
EMC IP HLDG CO LLC
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these techniques are specific to specific lines of code, and thus may not be able to provide a precise set of test cases for the software characteristics affected by code changes

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
  • White-box testing method and apparatus
  • White-box testing method and apparatus
  • White-box testing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The principles of the disclosure will be described below with reference to several example embodiments illustrated in the accompanying drawings. It should be understood that these embodiments are described only to enable those skilled in the art to better understand and implement the present disclosure, but not to limit the scope of the present disclosure in any way.

[0033] figure 1 A block diagram of an exemplary computer system / server 12 suitable for implementing embodiments of the present disclosure is shown. figure 1 The computer system / server 12 shown is merely an example and should not place any limitation on the functionality and scope of use of the embodiments of the present disclosure.

[0034] Such as figure 1 As shown, computer system / server 12 takes the form of a general purpose computing device. Components of computer system / server 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, bus 18 connecting...

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

Embodiments of the invention provide a white-box testing method and apparatus. The method comprises the steps of determining a code line changed in codes of a target version; determining a function which the code line belongs to; and based on first mapping from the function to test cases, determining a set of the test cases corresponding to the function which the code line belongs to. Compared with the prior art, the method and the apparatus provided by the embodiments of the invention have the advantages that finite test cases can be selected based on a function call relationship for covering software characteristics influenced by code change, so that the automatic testing efficiency is improved.

Description

technical field [0001] Embodiments of the present disclosure generally relate to software testing, and more particularly, to methods and apparatus for white-box testing. Background technique [0002] In a typical software continuous integration (CI) environment, software development and verification are linked in a seamlessly integrated toolchain. Code changes (eg, commits, pull requests, or other code submissions) will trigger automatic compilation of the committed code, as well as automatic testing of the code with a list of test cases. Therefore, intensive code commits will lead to intensive regression testing tasks. [0003] In order to select test cases for regression testing, methods in the prior art generally include: selecting a smoke test suite, selecting a complete test suite, or manually selecting test cases. Smoke testing refers to testing the basic functions of the software to ensure that the basic functions of the software can work normally. So the smoke tes...

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
CPCG06F11/3688
Inventor 顾惟祎张扬
Owner EMC IP HLDG CO LLC
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