thanks! yea I am using Great Expectations on the ...
# beginners-need-help
g
thanks! yea I am using Great Expectations on the data side. I was also aiming to write a test suite more than anything. So, I was thinking of running things like this and then having a battery of unit tests for each node.
Copy code
with KedroSession.create("library") as session:
    context = session.load_context()
    print(context.params)
    session.run(<node1 options>)
    run.node1_tests()
    session.run(<node2 options>)
    ... so on
Does that seem reasonable?
d
so this is something I want to improve in the default template
but this is how I think one should integration test entire pipelines
rather than re-use the real 'context' I think you should create your own catalog, runner and pass the data through that way
g
Cool thanks, this makes sense as well. Will definitely use it for inspiration!
i
Thanks for this example @datajoely , this is a really interesting way to set up tests I hadn't thought about.