Test selection
First Claim
Patent Images
1. A computer-implemented method, the method performed by a processor, the method comprising:
- obtaining a test suite comprising a plurality of tests for a Software Under Test (SUT);
selecting a subset of the test suite, wherein the subset provides coverage of the SUT that correlates to a coverage by a workload of the SUT, wherein the workload defines a set of input events to the SUT thereby defining portions of the SUT that are to be invoked during execution;
determining an execution profile of the workload;
obtaining execution profiles of each test of the test suite; and
wherein said selecting comprises;
determining a similarity measurement between substantially each test and the workload based on the execution profiles thereof;
selecting the subset of the test suite based on the similarity measurements; and
wherein said selecting comprises selecting the subset that is associated with a most similar aggregated similarity measurement to that of the workload, wherein an aggregated similarity measurement measures similarity between a set of tests and the workload based on an aggregated execution profile of the set of test and the execution profile of the workload.
1 Assignment
0 Petitions
Accused Products
Abstract
Computer-implemented method, computerized apparatus and a computer program product for test selection. The computer-implemented method comprising: obtaining a test suite comprising a plurality of tests for a Software Under Test (SUT); and selecting a subset of the test suite, wherein the subset provides coverage of the SUT that correlates to a coverage by a workload of the SUT, wherein the workload defines a set of input events to the SUT thereby defining portions of the SUT that are to be invoked during execution.
-
Citations
18 Claims
-
1. A computer-implemented method, the method performed by a processor, the method comprising:
-
obtaining a test suite comprising a plurality of tests for a Software Under Test (SUT); selecting a subset of the test suite, wherein the subset provides coverage of the SUT that correlates to a coverage by a workload of the SUT, wherein the workload defines a set of input events to the SUT thereby defining portions of the SUT that are to be invoked during execution; determining an execution profile of the workload; obtaining execution profiles of each test of the test suite; and wherein said selecting comprises; determining a similarity measurement between substantially each test and the workload based on the execution profiles thereof; selecting the subset of the test suite based on the similarity measurements; and wherein said selecting comprises selecting the subset that is associated with a most similar aggregated similarity measurement to that of the workload, wherein an aggregated similarity measurement measures similarity between a set of tests and the workload based on an aggregated execution profile of the set of test and the execution profile of the workload. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-implemented method, the method performed by a processor, the method comprising:
-
obtaining a test suite comprising a plurality of tests for a Software Under Test (SUT);
selecting a subset of the test suite, wherein the subset provides coverage of the SUT that correlates to a coverage by a workload of the SUT, wherein the workload defines a set of input events to the SUT thereby defining portions of the SUT that are to be invoked during execution;determining an execution profile of the workload; obtaining execution profiles of each test of the test suite; wherein said selecting comprises; determining a similarity measurement between substantially each test and the workload based on the execution profiles thereof; and selecting the subset of the test suite based on the similarity measurements; and wherein said selecting comprises; having a set of tests, wherein the set is initially empty; performing repeatedly; determining which of the tests in the test suite that is not comprised by the set, if added to the set, would induce a highest similarity measurement between an aggregated execution profile of the set and the execution profile of the workload; and adding the determined test. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computerized apparatus having a processor and a memory, the processor being adapted to perform the steps of:
-
obtaining a test suite comprising a plurality of tests for a Software Under Test (SUT); selecting a subset of the test suite, wherein the subset provides coverage of the SUT that correlates to a coverage by a workload of the SUT, wherein the workload defines a set of input events to the SUT thereby defining portions of the SUT that are to be invoked during execution; determining an execution profile of the workload; obtaining execution profiles of each test of the test suite; and wherein said selecting comprises; determining a similarity measurement between substantially each test and the workload based on the execution profiles thereof; and selecting the subset of the test suite based on the similarity measurements; wherein said selecting comprises selecting the subset that is associated with a most similar aggregated similarity measurement to that of the workload, wherein an aggregated similarity measurement measures similarity between a set of tests and the workload based on an aggregated execution profile of the set of test and the execution profile of the workload. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification