METHOD AND APPARATUS FOR MINING TEST COVERAGE DATA
First Claim
1. A method of mining test coverage data, comprising:
- at a device having one or more processors and memory;
sequentially processing each of a plurality of coverage data files that is generated by executing a program using a respective test input of a plurality of test inputs, wherein the processing of each current coverage data file extracts respective execution counter data from the current coverage data file;
after processing each current coverage data file, determining whether the respective execution counter data extracted from the current coverage data file includes a predetermined change relative to the respective execution counter data extracted from previously processed coverage data files; and
in response to detecting the predetermined change for the current coverage data file, including the respective test input used to generate the current coverage data file in a test input collection for testing the program.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of mining test coverage data includes: at a device having one or more processors and memory: sequentially processing each of a plurality of coverage data files that is generated by executing the program using a respective test input of a plurality of test inputs, where the processing of each current coverage data file extracts respective execution counter data from the current coverage data file; after processing each current coverage data file, determining whether the respective execution counter data extracted from the current coverage data file includes a predetermined change relative to the respective execution counter data extracted from previously processed coverage data files; and in response to detecting the predetermined change for the current coverage data file, including the respective test input used to generate the current coverage data file in a test input collection for testing the program.
47 Citations
20 Claims
-
1. A method of mining test coverage data, comprising:
at a device having one or more processors and memory; sequentially processing each of a plurality of coverage data files that is generated by executing a program using a respective test input of a plurality of test inputs, wherein the processing of each current coverage data file extracts respective execution counter data from the current coverage data file; after processing each current coverage data file, determining whether the respective execution counter data extracted from the current coverage data file includes a predetermined change relative to the respective execution counter data extracted from previously processed coverage data files; and in response to detecting the predetermined change for the current coverage data file, including the respective test input used to generate the current coverage data file in a test input collection for testing the program. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
8. A system for mining test coverage data, comprising:
-
one or more processors; and memory having instructions stored thereon, the instructions, when executed by the one or more processors, cause the processors to perform operations comprising; sequentially processing each of a plurality of coverage data files that is generated by executing the program using a respective test input of a plurality of test inputs, wherein the processing of each current coverage data file extracts respective execution counter data from the current coverage data file; after processing each current coverage data file, determining whether the respective execution counter data extracted from the current coverage data file includes a predetermined change relative to the respective execution counter data extracted from previously processed coverage data files; and in response to detecting the predetermined change for the current coverage data file, including the respective test input used to generate the current coverage data file in a test input collection for testing the program. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable medium having instructions stored thereon, the instructions, when executed by one or more processors, cause the processors to perform operations comprising:
-
sequentially processing each of a plurality of coverage data files that is generated by executing the program using a respective test input of a plurality of test inputs, wherein the processing of each current coverage data file extracts respective execution counter data from the current coverage data file; after processing each current coverage data file, determining whether the respective execution counter data extracted from the current coverage data file includes a predetermined change relative to the respective execution counter data extracted from previously processed coverage data files; and in response to detecting the predetermined change for the current coverage data file, including the respective test input used to generate the current coverage data file in a test input collection for testing the program. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification