CPC G06F 11/3612 (2013.01) [G06F 11/3664 (2013.01); G06F 11/3688 (2013.01); G06F 11/3692 (2013.01)] | 16 Claims |
1. A computer-implemented method, comprising:
maintaining, by a computing device, a first code segment comprising a first set of programmatic instructions that, when executed, generate a first resource of a set of resources of a cloud-computing environment;
maintaining, by the computing device, a second code segment comprising a second set of programmatic instructions that, when executed, test whether a respective resource implements a capability of a set of capabilities of the cloud-computing environment;
obtaining metadata indicating that the first resource implements the capability;
in response to identifying from the metadata that the first resource implements the capability, automatically generating, by the computing device, an execution plan comprising a combined code segment, the combined code segment being generated based at least in part on inserting the second code segment into the execution plan and replacing a placeholder associated with resource generation of the second code segment with the first code segment, the combined code segment comprising the first set of programmatic instructions generating the first resource and the second set of programmatic instructions for testing whether the first resource implements the capability; and
generating, by the computing device, a set of test results based at least in part on executing the first set of programmatic instructions and the second set of programmatic instructions of the combined code segment of the execution plan.
|