https://prefect.io logo
j

Jacqueline Riley Garrahan

05/19/2022, 7:07 PM
I've been looking at the nice
prefect_test_harness
in 2.0 and am wondering if any such fixtures exist for 1.2? Are there any general guides for setting up tests for projects using prefect?
k

Kevin Kho

05/19/2022, 7:09 PM
No to fixtures, but have you seen this page?
j

Jacqueline Riley Garrahan

05/19/2022, 7:13 PM
Yup, but I need to test flow-of-flows composition from a utility and believe I require mocked registration to do so
k

Kevin Kho

05/19/2022, 7:15 PM
Ah yeah that is hard because it’s an API call to start the flow run
Maybe the tests here for the
create_flow_run
task might help??
2 Views