Closed yoonspark closed 1 year ago
This PR includes several files being touched but most are simple test output updates. For code review, you can focus on the following files:
lineapy/plugins/pipeline_writers.py
lineapy/plugins/jinja_templates/module_test.jinja
lineapy/graph_reader/node_collection.py
tests/unit/plugins/test_writer.py
Jotting down thoughts for future work as per discussion w/ @lionsardesai (ordered in priority):
Summary
This PR builds on the previous bare-bones implementation of pipeline test generation (https://github.com/LineaLabs/lineapy/pull/772) to provide the user with more concrete guiding examples for pipeline testing. Specifically, this PR augments the test scaffold with fuller examples for equality evaluation of each function output (i.e., does each function in the module file generate results as expected?).
Changes
Update module code generation such that each function allows for(reverted as per feedback from @lionsardesai)**kwargs
; update existing test snapshotswarnings
moduleTesting
Relevant new tests are to be added (COMING SOON).
Ticket(s)