Statistical method and device for incremental coverage information
A technology that covers information and increments, applied in the statistical field of incremental coverage information, can solve the problems of developers missing new function points, missed tests, and no explanations, so as to reduce missed tests, improve efficiency, and improve work efficiency Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0090] figure 1 It is a flow chart of the statistical method for incremental coverage information provided by this embodiment, such as figure 1 As shown, the method includes:
[0091] Step S101, acquiring the version code to be tested and the baseline version code.
[0092] Usually the baseline version code is the basis for modification and addition of the version code to be checked, and may be the previous version code of the version code to be checked, or a version code specified by the user.
[0093] Obtain the version code to be checked and the baseline version code corresponding to the version code to be checked, including all files and log files of the program code in the version.
[0094] Step S102 , run all single test cases on the version code to be tested, and obtain coverage information of all functions in the version code to be tested.
[0095] A unit test case is a test sub-item for some units. For a software unit in a module, developers or testers will write ...
Embodiment 2
[0162] image 3 It is a flow chart of the statistical method for incremental coverage information provided by this embodiment, such as image 3 As shown, the method includes:
[0163] Step S201, generating the content of the configuration file.
[0164] Generate different configuration file contents according to actual test requirements.
[0165] The content of the configuration file can include but is not limited to the following:
[0166] Various information such as preset keywords, version number to be tested and path of version code to be tested, baseline version number and path of baseline version code, preset access threshold, alarm receiver, and program language category.
[0167] Figure 4 is a schematic diagram of a configuration file, such as Figure 4 As shown, including: the preset keyword "blacklist" for filtering, the user information "user=*****" and "pwd=*****" in the version library (svn), the svn path of the module "[svn]path=https: / / svn.***.com / ** / ** / *...
Embodiment 3
[0186] Figure 5 It is a schematic diagram of a statistical device for incremental coverage information provided in this embodiment. Such as Figure 5 As shown, the device includes:
[0187] The version acquisition module 501 is configured to acquire the version code to be tested and the baseline version code.
[0188] Usually the baseline version code is the basis for modification and addition of the version code to be checked, and may be the previous version code of the version code to be checked, or a version code specified by the user.
[0189] Obtain the version code to be checked and the baseline version code corresponding to the version code to be checked, including all files and log files of the program code in the version.
[0190] The full-coverage acquisition module 502 is configured to run all unit test cases on the version code to be tested, and obtain coverage information of all functions in the version code to be tested.
[0191] A unit test case is a test s...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com