发明名称 Generating imperative test tasks from declarative test instructions
摘要 A test controller interprets declarative test instructions into imperative test tasks and runs the tests using the imperative test tasks. Declarative test instructions indicate what tests are to be run and the imperative test tasks indicate how these tests are to be run. In addition, the imperative test tasks further indicate a control flow of the running of the tests.
申请公布号 US8898523(B2) 申请公布日期 2014.11.25
申请号 US200912551461 申请日期 2009.08.31
申请人 Red Hat, Inc. 发明人 Vecera Martin;Pechanec Jiri
分类号 G06F11/00;G06F11/22;G06F11/36 主分类号 G06F11/00
代理机构 Lowenstein Sandler LLP 代理人 Lowenstein Sandler LLP
主权项 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.
地址 Raleigh NC US