-
Hi, Thanks for the great work on dagster, I have a question concerning how to best mock resources for testing solids individually. For now the approach I came up with is slightly too convoluted for my taste. Would you have a simpler approach or would this be a feature request to support resource mocking for testing solids? Note that the resource should be configurable for every test. Here is the approach I have so far :
Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @vilhub this is pretty much the best approach given the APIs we have today. This is what I would do (without the pytest parameterization, which I think is the source of some of the convolution here):
|
Beta Was this translation helpful? Give feedback.
Hey @vilhub this is pretty much the best approach given the APIs we have today.
This is what I would do (without the pytest parameterization, which I think is the source of some of the convolution here):