主权项 |
1. A method comprising:
inspecting, by a processing device executing a test runner, source code of a test subject, the source code comprising first, second, third, and fourth annotations, wherein the first annotation to declare an injection point in the source code, the second annotation to declare a set of test values to be injected at the injection point, the third annotation to declare a second injection point in the source code, and the fourth annotation to declare a second set of test values to be injected at the second injection point, wherein the first, second, third, and fourth annotations are metadata in an input domain and are added at designated places in the source code; and creating, by the test runner, a set of one or more combination tests during a configuration phase in view of said inspection, wherein each of the set of combination tests comprises a combination of one of the set of test values injected at the injection point as declaratively provided by the second annotation and one of the second set of test values injected at the second injection point as declaratively provided by the fourth annotation, wherein the set of combination tests is to be executed during a run phase. |