Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Coverage rate testing method and device and storage equipment

A test method and test equipment technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problem that the coverage rate of a single version is of little significance

Inactive Publication Date: 2018-09-11
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The above-mentioned coverage detection tools can only obtain the coverage information of a single version. However, in the actual testing process, since the developers are constantly repairing the vulnerabilities and developing the requirements of the application, this is a continuous iterative process, which makes the same application There are often multiple versions of a program, and the coverage of a single version does not mean much to us. From the perspective of product management, we hope to get the overall coverage information of the application during the entire testing process

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
  • Coverage rate testing method and device and storage equipment
  • Coverage rate testing method and device and storage equipment
  • Coverage rate testing method and device and storage equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Please refer to the drawings, in which the same component symbols represent the same components, and the principle of the present application is implemented in an appropriate computing environment for illustration. The following description is based on the exemplified specific embodiments of the application, which should not be regarded as limiting other specific embodiments of the application that are not described in detail herein.

[0034] In the following description, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be mentioned several times as being executed by a computer. The computer execution referred to herein includes the operation of a computer processing unit that represents an electronic signal of data in a structured form. This operation converts the data or maintains it in a location in the computer's me...

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 embodiment of the invention discloses a coverage rate testing method and device and storage equipment. The coverage rate testing method comprises the steps of obtaining a first coverage information file obtained after a first version code of an application program is tested, and obtaining a second coverage information file obtained after a second version code of the application program is tested, wherein the first coverage information file comprises a code coverage row of the first version code, and the second coverage information file comprises a code coverage row of the second version code; comparing the first version code with the second version code to obtain code difference information of the first version code and the second version code; according to the code difference information, mapping the code coverage row of the first version code to the second version code to obtain a history coverage row of the second version code; calculating the overall coverage rate of the application program according to the history coverage row of the second version code and the code coverage row of the second version code.

Description

Technical field [0001] The embodiments of the present invention relate to the technical field of software testing, in particular to a coverage testing method, device and storage device. Background technique [0002] Coverage is a measurement in software testing, which describes the proportion and degree of code executed in the program. Coverage testing is an effective way to find problems. By analyzing code coverage, you can quickly locate which codes are not running, and construct corresponding test cases to cover these codes to find defects in software design And errors. [0003] At present, the gcov tool (a code coverage detection tool) is widely used for software code coverage testing. It passes through the compilation stage and inserts probe functions (also called instrumentation) into the current version of the code to identify the number of runs of the code. ), to record whether the code is running, and analyze the coverage of the current version of the code based on the r...

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
CPCG06F11/3676
Inventor 林英
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
Eureka Blog
Learn More
PatSnap group products