Supercharge Your Innovation With Domain-Expert AI Agents!

Jacoco-based test analysis method, system and device and medium

A technology for test analysis and analysis tasks, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as the inability to quickly implement version difference comparison analysis

Active Publication Date: 2021-03-26
广州云从鼎望科技有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If you want to know the code difference between the two versions, you need to download the code of the two versions and use tools to compare the code. When there are many products and many test versions, it is impossible to quickly realize the difference comparison analysis of the versions.

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
  • Jacoco-based test analysis method, system and device and medium
  • Jacoco-based test analysis method, system and device and medium
  • Jacoco-based test analysis method, system and device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Some embodiments of the present invention are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present invention, and are not intended to limit the protection scope of the present invention.

[0046] In the description of the present invention, "module" and "processor" may include hardware, software or a combination of both. A module may include hardware circuits, various suitable sensors, communication ports, memory, and may also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor or any other suitable processor. The processor has data and / or signal processing functions. The processor can be implemented in software, hardware or a combination of both. The non-transitory computer readabl...

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 relates to the technical field of program testing, in particular to a jacoo-based test analysis method, system and device and a medium. The invention aims to solve the technical problemsof how to reduce the workload of manual configuration and automatically and efficiently obtain the full / incremental coverage rate statistical analysis of a test version and even the difference analysis of different versions. The method comprises the steps: customizing project parameters by performing secondary development on jacoo and modifying a jacocoagent source code, developing a jacoo-basedtest analysis system by using flask, uploading a jacocoagent.jar to a specified position of a server where a tested service is located, a tested service script is started by using a jacocoagent, and transmitting the corresponding project parameters of the corresponding tested service; generating a corresponding coverage rate analysis task and / or a difference analysis task according to the analysisproject parameters and the service information of the database, and regularly scanning and executing the tasks. Therefore, automatic analysis of a large number of tests can be achieved, and a simpleand easy-to-use tool for full-quantity / increment coverage rate analysis and difference analysis is provided for testers.

Description

technical field [0001] The invention relates to the technical field of program code testing, in particular to a jacoco-based test statistics and analysis method, system, equipment and media. Background technique [0002] Code coverage (Code Coverage) is an important indicator reflecting the degree of coverage of the test case on the program under test, and it is also a reference value for measuring the integrity of the test. Whether it is a unit test, an API (Application Program Interface, application program interface) test, or a functional test, it is the code that calls the program in the end. After the test is over, through the code coverage data, you can know whether the test is sufficient and where the weaknesses of the test are, and then guide the developer or assistant tester to increase the test cases of the coverage rate. [0003] In the process of functional testing of program products, it is necessary to make statistics on the full and incremental coverage of ea...

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/3676G06F11/3688G06F11/3692
Inventor 周诺奕解月敏
Owner 广州云从鼎望科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More