Method and device for automatic testing of code coverage rate, applied to Android system
A code coverage, automated testing technology, applied in software testing/debugging, error detection/correction, instruments, etc., to achieve the effect of optimizing test information, improving test functions, and high degree of automation
- Summary
 - Abstract
 - Description
 - Claims
 - Application Information
 
 AI Technical Summary 
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0014] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0015] see figure 1 As shown, the embodiment of the present invention provides a kind of automated testing method for the code coverage of Android system, comprises the following steps:
[0016] Step S1: Perform the instrumentation operation of the Jacoco tool on the source code, and generate an inserted Class file. It can be understood that Jacoco is an open-source coverage tool, and in this embodiment, the instrumentation operation of the Jacoco tool is automatically completed through a Python (an object-oriented, interpreted computer programming language) program.
[0017] Step S2: Perform preprocessing on the inserted Class file before compiling.
[0018] Specifically, the preprocessing performed in step S2 specifically includes the following procedures:
[0019] Step S201: Add a specified JAVA source file to the inserted Class...
PUM
 Login to View More Abstract
Description
Claims
Application Information
 Login to View More - R&D
 - Intellectual Property
 - Life Sciences
 - Materials
 - Tech Scout
 
- Unparalleled Data Quality
 - Higher Quality Content
 - 60% Fewer Hallucinations
 
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



