You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, there's a lot of ad hoc patching going on to define mock for tests. We are reaching a point when it's no longer a one-shot operation, so it's probably a good idea to define mocks for some well defined, consistent objects (e.g. docker client, container manager, user, database). This will remove or reduce the need for coroutine factories that we are using right now.
The text was updated successfully, but these errors were encountered:
Since we have interfaces I agree that having virtual or dummy implementations is a goo thing. Please note that I would suggest to avoid using the word mock for such objects to avoid confusion with the mock library.
At the moment, there's a lot of ad hoc patching going on to define mock for tests. We are reaching a point when it's no longer a one-shot operation, so it's probably a good idea to define mocks for some well defined, consistent objects (e.g. docker client, container manager, user, database). This will remove or reduce the need for coroutine factories that we are using right now.
The text was updated successfully, but these errors were encountered: