主权项 |
1. A method comprising:
providing a template for input of a validation test to be run in a computing system; translating the template into an extended markup language (XML) formatted file comprising a declarative test instruction, the declarative test instruction to specify a configuration of a test client and a test server in the computing system, the validation test to be run and a previously executed process to be stopped; determining, by a processing device, whether the declarative test instruction is supported by a test controller in the computing system by comparing the declarative test instruction to a dictionary of known declarative test instructions; in response to determining that the declarative test instruction is supported by the test controller, interpreting, by the test controller, the declarative test instruction into a set of imperative test tasks, wherein the set of imperative test tasks indicate how the test is to be run; determining, for the declarative test instruction, a first subset of the set of imperative test tasks that are to be run, a second subset of the set of imperative test tasks that roll back completed tests, and a third subset of the set of imperative test tasks to validate results of the tests; and running the test using the first subset of the set of imperative test tasks. |