-
公开(公告)号:US10452517B2
公开(公告)日:2019-10-22
申请号:US14552563
申请日:2014-11-25
Applicant: SAP SE
Inventor: Klaus Haeuptle , Kay Hammerl , Nena Raab , Christian Edward Swanepoel , Klaus Ziegler , Jens Keller
IPC: G06F11/36
Abstract: Various embodiments of systems and methods to provide a testing framework for testing code are described herein. In one aspect, a request to test at least a portion of code is received. A test model composed of model elements representing the portion of the code, code on which the portion of the code depends and one or more preexisting test doubles is generated. An option is provided to define one or more test double elements, in the test model, corresponding to the code on which the portion of the code depends. Further, an option is provided to alter dependencies between the model elements and the defined one or more test double elements in the test model. Furthermore, new one or more code artefacts are generated based on the test model and the generated new one or more code artefacts are executed to test logic of the portion of the code.