Test coverage calculation method and device based on execution path tracking technology

A technology of execution path and test coverage, which is applied in the field of mobile application testing, can solve problems such as missing tests, inability to know the overall situation of mobile applications, and difficulty in ensuring test coverage, so as to achieve the effect of ensuring test coverage

Inactive Publication Date: 2021-08-10
广东拓思软件科学园有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, since crowdsourcing testing is conducted by many different testers, individual testers cannot know the internal structure of the program, nor can they know the overall situation of the mobile application, and the test planning or tracking methods are different from traditional waterfall or agile methods. Test work is different, therefore, it is difficult to ensure test coverage in crowdsourcing testing, resulting in missing tests and reducing the accuracy of tests

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
  • Test coverage calculation method and device based on execution path tracking technology
  • Test coverage calculation method and device based on execution path tracking technology
  • Test coverage calculation method and device based on execution path tracking technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] 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 creative efforts fall within the protection scope of the present invention.

[0045] Since crowdsourcing testing is performed by many different testers, each tester cannot know the internal structure of the program, nor the overall situation of the mobile application, and the test planning or tracking method is different from traditional waterfall or agile testing. The work is different. Therefore, it is difficult to ensure test coverage in crowdsourcing testing, resulting in missing tests and reducing the accuracy of testing.

[0046] In or...

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 discloses a test coverage calculation method and device based on an execution path tracking technology. The method comprises the following steps: collecting change data when a user triggers a control; sorting the change data according to the order of responding to the user triggering controls to obtain a sorted chart; counting execution paths based on the response chart, and performing gathering to generate a test execution path event set; and respectively calculating the test coverage rate and the trigger proportion of each execution path by adopting the test execution path event set. According to the method and device, test execution paths of different crowdsourcing workers can be tracked, and respective test coverage rates of the crowdsourcing workers can be counted and calculated and are fed back to the crowdsourcing workers in real time, so that the crowdsourcing workers can better understand the test defects of the crowdsourcing workers, and then more sufficient testing is carried out to ensure test coverage in crowdsourcing testing; and meanwhile, according to the triggering proportion of each event, a developer can better find the problem and the part in which people are interested, so that the mobile application is further perfected.

Description

technical field [0001] The present invention relates to the technical field of testing of mobile applications, in particular to a test coverage calculation method and device based on execution path tracing technology. Background technique [0002] With the rapid development of mobile Internet and mobile devices, mobile applications have been applied to all aspects of social life. Before promotion and use, it is necessary to test the effect and function of the application. Traditional testing is done by experts or professional testers. However, the test cost of this method is relatively high, and it is difficult to meet the characteristics of mobile application versions such as diverse versions and fast iteration. [0003] Therefore, in order to meet the testing needs of mobile applications, one of the commonly used mobile application testing is crowdsourcing testing. Crowdsourcing testing means that testers publish test tasks to crowdsourcing platforms, and large-scale cro...

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/3684G06F11/3688
Inventor 罗军张晋桂黄万民王萍梁巧清
Owner 广东拓思软件科学园有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products