Invention Grant
- Patent Title: Framework for testing logic of code based on model elements
-
Application No.: US14552563Application Date: 2014-11-25
-
Publication No.: US10452517B2Publication Date: 2019-10-22
- Inventor: Klaus Haeuptle , Kay Hammerl , Nena Raab , Christian Edward Swanepoel , Klaus Ziegler , Jens Keller
- Applicant: SAP SE
- Applicant Address: DE Walldorf
- Assignee: SAP SE
- Current Assignee: SAP SE
- Current Assignee Address: DE Walldorf
- Agency: Buckley, Maschoff & Talwalkar LLC
- Main IPC: G06F11/36
- 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.
Public/Granted literature
- US20160147642A1 FRAMEWORK FOR TESTING CODE Public/Granted day:2016-05-26
Information query