Method and system for generating test matrices for software programs
AssigneeMicrosoft Corporation
InventorsErez Amir, Dan Bar-Lev, Yoel Arnon, Liron Schur
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsErez Amir, Dan Bar-Lev, Yoel Arnon, Liron Schur
Estimating the term…
Methods and data structures are disclosed for a program module (e.g., API) test matrix generator system/process. The disclosed methods and data structures facilitate and carry out a streamlined, yet logically thorough test to verify the proper operation and/or expose errors within the program module under test. The method comprises breaking a set of input parameters to the program module into clusters of related parameters (i.e., parameters whose values affect each other's validity regarding the output of the program module). Thereafter, a set of groups, representing different usages of a set of clustered parameters, are identified. After identifying the groups, a set of test calls (or a test matrix) is rendered for the program module. A covering set of test calls for a particular cluster comprises a sum of all logically/operationally distinct input value combinations rendered for each group. Such distinct input value combinations are rendered according to parameter equivalence classes defined for each parameter of each one of the cluster's groups. An actual test call includes a representative set of parameter values for a particular selected combination of equivalence classes.
A computer implemented method for generating a test model facilitating creating a set of test calls for submission to a program module that includes an interface definition identifying a set of input parameters, the method comprising the steps of:
A computer implemented method for testing a program module according to a test model comprising a set of one or more clusters for which a set of groups are defined, wherein each group defines a set of parameter elements corresponding to a particular usage of program module input parameters assigned to a cluster, and each parameter element comprises a set of equivalence classes for a parameter, the method comprising:
A computer-readable medium including computer-executable instructions for testing a program module according to a test model comprising a set of one or more clusters for which a set of groups are defined, wherein each group defines a set of parameter elements corresponding to a particular usage of program module input parameters assigned to a cluster, and each parameter element comprises a set of equivalence classes for a parameter, the computer-executable instructions facilitating executing the steps of:
Dependencies are inferred from the claim text.