Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Detection method and device for testing coverage rate

A technology for test coverage and testing methods, which is used in the testing method and device field of test coverage. It can solve problems such as unknown and lack of coverage, and achieve the effect of reducing the missed inspection, auxiliary detection, and improving stability.

Inactive Publication Date: 2018-06-01
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present invention discloses a test coverage detection method and device, which solves the problem that the lack of coverage detection means in the prior art can not be known even if there is a missed detection

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
  • Detection method and device for testing coverage rate
  • Detection method and device for testing coverage rate
  • Detection method and device for testing coverage rate

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0050] refer to figure 1 , which shows a schematic flowchart of a test coverage detection method provided by an embodiment of the present invention. In this embodiment, the method includes:

[0051] S101: Detect whether there is a coverage detection file in the storage space of the application; the coverage detection file includes classes preset in the application;

[0052] In this embodiment, when the application program is tested, if the test coverage detec...

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 embodiment of the invention discloses a detection method and device for testing a coverage rate. The method includes the steps that it is detected whether a coverage rate detection file exists ina memory space of an application program or not; the coverage rate detection file contains the preset classes in the application program; if the coverage rate detection file exists, the following steps are performed circularly until the test is ended; the test situation of the classes in the application program is intercepted; after intercepting that any class is tested, the intercepted tested classes are removed from the coverage rate detection file. Therefore, after the test is ended, the names of the remaining classes in the coverage rate detection file are the untested classes in the test,a technician can determine the classes which still need to be tested by watching the detection coverage rate file, and the occurrence of the leak detection is greatly reduced. In addition, the devicedoes not need to increase the workload of the tester, can efficiently assist the tester to detect the application program, and improve the stability of the application program.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a testing method and device for testing coverage. Background technique [0002] With the rapid development of the Internet, more and more applications appear. An application program refers to a computer program for completing one or more specific tasks. It runs in user mode, can interact with users, and has a visual user interface. For example: WeChat, QQ, etc., are all applications. [0003] With the rapid changes of users and markets, the scale of the application increases accordingly, and the update of the application program continues to accelerate rapidly. However, how to ensure the stability of the new version of the application program is becoming more and more important. Therefore, before the application program is released, it is necessary to The application is tested for various performance. [0004] Due to the need to test complex and changing requirements and thousa...

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/3676G06F11/3684
Inventor 刘晓丹
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products