Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for determining test coverage

A technology of test coverage and coverage, applied in the field of data processing, can solve problems that cannot accurately reflect the effectiveness and quality of code testing, and achieve the effect of accurate and effective effectiveness and evaluation effectiveness

Inactive Publication Date: 2018-06-15
北京网信云服信息科技有限公司
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the currently obtained test coverage does not accurately reflect the effectiveness and quality of code testing

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
  • Method and device for determining test coverage
  • Method and device for determining test coverage
  • Method and device for determining test coverage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The method for determining test coverage in this application can be applied to a scenario where the code in the new version of the application is tested when a new version appears in the application.

[0040] The equipment involved in the solution of this application includes: a test client and a server.

[0041] Among them, the test client is the device end where the tester tests the application.

[0042] The server is a device used to monitor the test situation of the test client test application.

[0043] Combining the above commonality, see figure 1 , Which shows a schematic flowchart of an embodiment of a method for determining test coverage of this application, and this embodiment is introduced from the server side.

[0044] The method of this embodiment may include:

[0045] S101: Receive test status information of a currently tested application sent by a test client.

[0046] Wherein, the test status information includes: the version number of the application, and the ident...

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 application provides a method and a device for determining test coverage. The method comprises the following steps: receiving test state information of a current application under test transmittedby a test client, wherein the test state information includes a version number of the application and identifiers of tested codes in the application; determining incremental codes in a target versionof the application corresponding to the version number, wherein the incremental codes are updated codes existing in latest history version codes which are issued most recently before a target version; determining tested codes in the incremental codes according to the identifiers of the tested codes in the application; and determining the test coverage of the incremental codes according to the tested codes in the incremental codes. Through adoption of the method and the device in the application, a more accurate and effective rating basis can be laid for the evaluation of the validity and quality of code testing.

Description

Technical field [0001] This application relates to the field of data processing technology, and in particular to a method and device for determining test coverage. Background technique [0002] After the new version of the application is developed, in order to detect whether there are vulnerabilities in the new version of the application, testers need to test the code in the developed new version of the application. If there are vulnerabilities in part of the code in the new version, but the tester misses that part of the code, it will make the application vulnerable. [0003] In order to avoid missed tests, it is necessary to monitor the test process of testers and determine the test coverage rate to evaluate the test situation through the test coverage rate. However, the currently acquired test coverage does not accurately reflect the effectiveness and quality of code testing. Summary of the invention [0004] In view of this, this application provides a method and device for de...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3676G06F11/368G06F11/3684
Inventor 景旭
Owner 北京网信云服信息科技有限公司