The etlUnit package!
This package is the main package of the project. It houses all of the submodules necessary for building the test application.
This file houses all of the code necessary to execute the application that we are generating.
Class that executes the code that we built from the templates.
This method actually performs the execution of the code we generated. :param test: A boolean that determins if this is a test execution or not. If it is a test, then we do not really execute the code, we only print a list of files that would have been executed. :type test: bool.
This file houses all of the code necessary to generate code from templates.
This class performs the generation of the code. Using the Jinja2 template engine, we are taking in YAML and generating code from it by filling in templates.
This method actually generates the code. :param test: A boolean that determines if we are running a test or not. If its true, then we don’t persist the code that we generate, it prints to stdout instead. :type test: bool.
This method persist the generated code to the output directory specified. :param name: The name of the test suite. :type name: str. :param output: The output from the template being rendered. :type output: str. :param test: A boolean that determines if we are testing or not. If we are testing, then output is not persisted. :type test: bool.
This is the main file for the application.
This class is the entry point for the application. It takes the arguments, validates them, and passes them on to the appropriate classes to continue execution.
There are three main functions of this application. 1) Take in YAML 2) Generate code from that YAML 3) Execute that code so that we can take advantage of the unittest libraries
This file houses all of the code to read in the YAML files.