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

A test device and method for performing white-box testing on coverage calculation visualization

A technology of white-box testing and testing equipment, which is applied in the field of white-box testing coverage calculation and visualization testing equipment, and can solve the problems of white-box testing such as huge workload and low testing efficiency

Active Publication Date: 2015-02-04
SUZHOU DONGCHAYUN INFORMATION TECH CO LTD
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem solved by the present invention: the workload of white box testing in the prior art is huge, resulting in low testing 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
  • A test device and method for performing white-box testing on coverage calculation visualization
  • A test device and method for performing white-box testing on coverage calculation visualization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Such as figure 1 As shown, a test device for visualization of white-box test coverage calculation includes: a source code block device, and a visualization presentation device for coverage calculation.

[0047] The source code block device is used to analyze and obtain the code blocks in the program to be tested, add a block identifier for identifying the logical structure of the program to the code block of the program to be tested, and generate a block code for describing the logical structure of the code block in the program surface. The source code chunking installation includes:

[0048] The lexical analysis module scans the character stream of the program to be tested and then recognizes words and statements, and marks the program statements as branch statements and sequential statements;

[0049] The type classification module divides the program code into multiple code blocks according to the statement type output by the lexical analysis module. The code block...

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 discloses a test device and method for performing white-box testing on coverage calculation visualization, wherein the test device consists of a source code blocking device and a coverage calculation visualization presenting device. The method of testing by the device comprises steps of: a source code blocking step, and a coverage calculation visualization presenting step. The test device and the method for performing white-box testing on coverage calculation visualization of the invention provide the testing worker with more detailed testing coverage conditions, and make a user locate conveniently and rapidly a logic error point of the source code, and guide the user to design a test case reaching 100% coverage. The invention has the following beneficial technical effects in the field of testing: reducing difficulty in testing; guiding developing workers and testing workers to cooperate to complete testing of 100% coverage of a core module; and reducing workload of unit testing.

Description

technical field [0001] The invention relates to a visualization device and method, which are mainly used for software testing, and in particular to a testing device and method for white box test coverage calculation visualization. Background technique [0002] In the process of software testing, because the testers perform black-box testing, they cannot know the structure and conditions of the internal operation of the program, and the developers do not know the specific program execution logic corresponding to the test cases, and the testers do not know how to complete sufficient test. Especially for white-box testing such as unit testing, the test coverage of a large number of codes requires a lot of checking work to determine which codes are covered by the test and which codes are not covered. This kind of white-box testing without tool support leads to development A lot of low-level mistakes made during the process make developers lose confidence in the quality of the v...

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 SUZHOU DONGCHAYUN INFORMATION TECH CO 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