Join Slack
Powered by
What is the expected way to override declarations ...
# koin
a
aipok
01/23/2022, 11:56 AM
What is the expected way to override declarations in unit tests for specific definitions? I have class
FaceProcessor
that has param from MLKit and I want to override this
MlKit
dependency in unit tests with a mock implementation. What is the best way to do this?
e
eurycea
01/24/2022, 8:12 PM
Are you already using a module defined for testing? that injects mocks/fakes?
6
Views
Open in Slack
Previous
Next