Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to test dig container #324

Open
sahilpaudel opened this issue Feb 22, 2022 · 1 comment
Open

How to test dig container #324

sahilpaudel opened this issue Feb 22, 2022 · 1 comment

Comments

@sahilpaudel
Copy link

I am compelled to ask here but I am unable to find how to test the dig containers and services created by it.
There is an unanswered stackoverflow question as well.
https://stackoverflow.com/questions/71220974/how-to-test-uber-dig-application-golang

Please point me to the right direction and some help please.

Thanks.

@zhengyuan-ehps
Copy link

zhengyuan-ehps commented Oct 15, 2023

I am not able to find any documentation about testing support by dig neither. Hence I switch to https://github.com/samber/do which is supporting to inject the mock components natively by using clone injector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants