I want to write pytest unit test in Kedro 0.17.5. They need to perform integrity checks on dataframes created by the pipeline. These dataframes are specified in the
catalog.yml
and already persisted successfully usingkedro run
. Thecatalog.yml
is inconf/base
.I have a test module
test_my_dataframe.py
insrc/tests/pipelines/my_pipeline/
.
How can I load the data catalog based on my catalog.yml
programmatically from within test_my_dataframe.py
in order to properly access my specified dataframes?
Or, for that matter, how can I programmatically load the whole project context (including the data catalog) in order to also execute nodes etc.?