Code testing information collecting method and system
A technology for code testing and information collection, applied in the field of code test information collection methods and a code test information collection system, can solve problems such as increasing workload, affecting the efficiency of code coverage information collection, and inconvenient use
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] figure 1 A schematic flowchart of Embodiment 1 of the code test collection method of the present invention is shown in . Such as figure 1 As shown, the code test information collection method in this embodiment includes steps:
[0032] Step S101: Deploy the tested code to the test environment through the automated publishing system. The so-called test environment refers to the description of the software and hardware environment on which the test runs, and any other software that interacts with the tested software, including Drivers and stubs, etc., also refer to the general term of computer hardware, software, network equipment, and historical data necessary for the completion of software testing. Therefore, in the following descriptions of the present invention, the test environment will not be described in detail;
[0033] Step S102: Test the code under test in the above test environment to obtain code test information, wherein the code test information here can be...
Embodiment 2
[0037] figure 2 shows the schematic flow chart of Embodiment 2 of the code test information collection method of the present invention. In the solution of Embodiment 2, the main difference from Embodiment 1 above is that in this embodiment, only code coverage is collected rate information as an example.
[0038] Such as figure 2 As shown, in the second embodiment, the code test information collection method of the present invention includes steps:
[0039] Step S201: Deploy the tested source code to the test environment through the automated release system;
[0040] Step S202: Instrumenting the above-mentioned source code under test deployed to the test environment;
[0041] Step S203: Execute the functional test case, and collect code coverage information when executing the functional test case;
[0042] Step S204: Publish the above-mentioned source code under test after moving the pile of the above-mentioned source code under test.
[0043] According to the method for...
Embodiment 3
[0061] Figure 4 shows a schematic flow chart of Embodiment 3 of the code test information collection method of the present invention. In this embodiment, the difference from Embodiment 1 above is that in this embodiment, only code differentiation information is collected. Example to illustrate.
[0062] Such as Figure 4 As shown, the code test information collection method in this embodiment includes steps:
[0063] Step S401: Deploy the source code under test to the test environment through the automated release system;
[0064] Step S402: Detect the old source code corresponding to the above-mentioned source code under test;
[0065] Step S403: Generate code differentiation information according to the source code under test and the source code of the old version.
[0066] According to the code test information collection method in this embodiment as described above, it not only realizes the collection of code differentiation information, but also collects code differe...
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