Test case generator built into data-integration workflow editor
First Claim
1. A method for generating a test case for a transformation module of a data-integration workflow, the method comprising:
- receiving a request to create the test case for the transformation module of the data-integration workflow that is compatible with a software framework;
identifying a first network path from an input data source to the transformation module in the data-integration workflow;
identifying a second network path from the transformation module to an output data source in the data-integration workflow;
generating code that defines the test case for the transformation module;
executing the test case in the software framework by;
sending input data from a simulated input data source of the test case to the transformation module without accessing the input data source; and
receiving output data at a simulated output data source of the test case from the transformation module without accessing the output data source;
determining the transformation module has been changed to generate a changed module; and
re-executing the test case in the software framework, wherein re-execution of the test case verifies functionality of the changed module.
6 Assignments
0 Petitions
Accused Products
Abstract
Embodiments presented herein provide techniques for generating test cases for transformation modules that are part of a larger data-integration workflow for an extract, transfer, and load (ETL) project. A test case generated according to the present disclosure can be executed independently of the application that generated it and independently of data sources and destinations referenced in the data-integration workflow. To achieve this independence, the test case can include code that simulates data sources and destinations that interact with the transformation module in the data-integration workflow. Furthermore, the test case can be a unit test based on a unit testing framework and can be compatible with a selected software framework.
31 Citations
17 Claims
-
1. A method for generating a test case for a transformation module of a data-integration workflow, the method comprising:
-
receiving a request to create the test case for the transformation module of the data-integration workflow that is compatible with a software framework; identifying a first network path from an input data source to the transformation module in the data-integration workflow; identifying a second network path from the transformation module to an output data source in the data-integration workflow; generating code that defines the test case for the transformation module; executing the test case in the software framework by; sending input data from a simulated input data source of the test case to the transformation module without accessing the input data source; and receiving output data at a simulated output data source of the test case from the transformation module without accessing the output data source; determining the transformation module has been changed to generate a changed module; and re-executing the test case in the software framework, wherein re-execution of the test case verifies functionality of the changed module. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory computer-readable storage medium containing instructions that, when executed by one or more processors, perform an operation for generating a test case for a transformation module of a data-integration workflow, the operation comprising:
-
receiving a request to create the test case for the transformation module of the data-integration workflow that is compatible with a software framework; identifying a first network path from an input data source to the transformation module in the data-integration workflow; identifying a second network path from the transformation module to an output data source in the data-integration workflow; generating code that defines the test case for the transformation module; executing the test case in the software framework by; sending input data from a simulated input data source of the test case to the transformation module without accessing the input data source; and receiving output data at a simulated output data source of the test case from the transformation module without accessing the output data source; determining the transformation module has been changed to generate a changed module; and re-executing the test case in the software framework, wherein re-execution of the test case verifies functionality of the changed module. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system for generating a test case for a transformation module of a data-integration workflow, comprising:
-
one or more processors; and a memory storing one or more applications that, when executed on the one or more processors, perform an operation, the operation comprising; receiving a request to create the test case for the transformation module of the data-integration workflow that is compatible with a software framework; identifying a first network path from an input data source to the transformation module in the data-integration workflow; identifying a second network path from the transformation module to an output data source in the data-integration workflow; generating code that defines the test case for the transformation module; executing the test case in the software framework by; sending input data from a simulated input data source of the test case to the transformation module without accessing the input data source; and receiving output data at a simulated output data source of the test case from the transformation module without accessing the output data source; determining the transformation module has been changed to generate a changed module; and re-executing the test case in the software framework, wherein re-execution of the test case verifies functionality of the changed module. - View Dependent Claims (14, 15, 16, 17)
-
Specification