Guillaume Jeusel07/03/2021, 6:40 AM
. Am I missing something ? Also, ideally, before any other test starts, this mock should be instantiated again (avoid side effects). Maybe one solution might be to permit adding mode definitions to a PipelineDefinition after instantiation ? That way, I would have some fixture adding the “unittest” mode on my pipelines, with resources mocked value being other fixtures usable inside my tests. As I don’t really see the point of having a ‘unittest’ mode defined in my production code. Altough I do see the benefit of having a mode mocking specific resources to avoid changing any system state and just allow the user to test the “Extract” and “Transform” part.
schrockn07/04/2021, 4:35 PM
sandy07/16/2021, 12:56 AM