发明名称 Generating reusable test components out of remote application programming interface
摘要 In an aspect, the present application relates to a computer-implemented method, computer system, and computer program product for (automatically) generating reusable test components to test software applications. The computer-implemented method for generating reusable test components to test software applications may comprise: accessing an object model relating to at least part of a software application; and generating at least one test component applicable to test the software application, comprising: analyzing the object model, generating a meta-description from the object model and store the meta information in at least one descriptor according to a meta model, and generating the test component and a corresponding component implementation based on the descriptor.
申请公布号 US8978020(B2) 申请公布日期 2015.03.10
申请号 US201012901155 申请日期 2010.10.08
申请人 SAP SE 发明人 Rossi Claude
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 Brake Hughes Bellermann LLP 代理人 Brake Hughes Bellermann LLP
主权项 1. A computer-implemented method for generating reusable test components to test software applications including executing instructions recorded on a non-transitory computer-readable storage media using at least one processor, the method comprising: accessing an object model relating to at least part of a software application; and generating at least one test component applicable to test the software application, comprising: analyzing the object model including retrieving at least two method signatures,generating a meta-description from the object model and storing the meta description in at least one descriptor according to a meta model, wherein the descriptor includes one or more input parameters,generating the test component and a corresponding component implementation based on the descriptor including combining two of the at least two method signatures in the test component, wherein: the test component defines a facade to the corresponding component implementation and the test component uses one or more of the input parameters to find a child object of an object targeted by the test component, andthe component implementation is stored in at least one shared library, andgenerating a test scenario for the software application by composing generated test components, wherein the test components are reusable for use in different test scenarios.
地址 Walldorf DE US