发明名称 Methods and systems for data service development
摘要 Development of data services can be enhanced through the use of methods and systems that automate aspects of the build process. Particularly, software can be used to automatically generate test cases and incorporate test results into documentation as part of the build process based on an updated Application Programming Interface (API) specification to generate up-to-date and accurate Software Development Kit (SDK) artifacts. A method can comprise accessing data defining an API for a data service, such as Web Application Description Language (WADL) or Web Service Description Language (WSDL) data. The method can further comprise identifying a test case for a service call that can be made via the API based on the data defining the API, and generating test code, the test code configured to evaluate the test case by making the service call. The test code can be used for evaluating the test case(s) in order to ensure requests and/or responses are consistent with the API definition.
申请公布号 US8949792(B2) 申请公布日期 2015.02.03
申请号 US200912542893 申请日期 2009.08.18
申请人 Adobe Systems Incorporated 发明人 Paterson Ian;McMahon Richard;Boag James
分类号 G06F9/44 主分类号 G06F9/44
代理机构 Kilpatrick Townsend & Stockton LLP 代理人 Kilpatrick Townsend & Stockton LLP
主权项 1. A method, comprising: accessing data defining an application programming interface for a data service; identifying a test case for a service call specified by the application programming interface based on the data defining the application programming interface, wherein the test case comprises a plurality of required parameters for the service call; identifying an additional test case for the service call, wherein the additional test case comprises a subset of parameters that includes fewer than all of the plurality of required parameters for the service call; automatically generating test code from code in at least one client library, the test code including at least one function for evaluating the identified test case by making the service call using the plurality of required parameters and code for evaluating the additional test case by executing the at least one function using the subset of parameters; automatically evaluating the identified test case, wherein evaluating comprises executing the at least one function in the test code and storing test results in a non- transitory computer-readable medium; and updating the code in the at least one client library that corresponds to the test code based at least in part on the test results from evaluating the identified test case.
地址 San Jose CA US