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

Method and device for checking software code test coverage rate

A technology for testing coverage and software code, applied in the field of software testing, can solve problems such as large amount of code and insufficient granularity of inspection

Active Publication Date: 2019-11-19
ALIBABA GRP HLDG LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a method for checking the coverage rate of software code testing, which aims to solve the technical problems in the prior art that the amount of codes to be checked at one time is very large and the checking granularity is not fine enough.

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 checking software code test coverage rate
  • Method and device for checking software code test coverage rate
  • Method and device for checking software code test coverage rate

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0105] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0106] This application provides a method for checking software code test coverage, figure 1 It is a processing flow chart of an embodiment of a method for checking software code test coverage provided by this application. Combine below figure 1 The processing flowchart of the embodiment of the method for checking the test coverage of software codes is shown to illustrate the technical solution of the method for checking the test coverage of software codes provided by this application.

[0107] figure 1 The proces...

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 provides a method for checking a software code test coverage rate. The method comprises the following steps: testing a software code containing a patch code segment according to a test set; determining the tested coverage rate of the patch code segment, wherein the tested coverage rate of the patch code segment is used for measuring the code quantity executed by the patch code segment in the test process; and determining a coverage rate test result of the patch code segment according to the tested coverage rate of the patch code segment. The coverage rate checking process and thecontinuous testing process of the code submitted each time are integrated together, so that the checking of the coverage rate penetrates into the continuous submitting process of the code, and continuous coverage rate checking is formed. If the tested coverage rate of the code submitted this time does not meet the requirement, the test is carried out again, so that the coverage check of the software patch is more timely and more targeted.

Description

technical field [0001] The present application relates to the field of software testing, in particular to a method and device for checking coverage of software code testing, and also relates to an electronic device and a computer-readable storage medium. Background technique [0002] In a CI (Continuous integration, continuous integration) system, testing is generally used to detect and ensure software quality. At the same time, the coverage rate of the tested code can be checked to estimate the reliability of software testing. [0003] Existing technology checks the coverage rate of the tested code as follows: in the process of continuous software integration, software developers usually build executable software versions after submitting codes, and then test them. After a test fails, the developer will re-modify and submit and test again until the test passes. After all the test items are passed, release the new version as appropriate. There may also be an overall cover...

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/3676Y02D10/00
Inventor 石晓海秦承刚张永超
Owner ALIBABA GRP HLDG LTD