-
Notifications
You must be signed in to change notification settings - Fork 7
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
Quick-action for introducing fake in constructor argument #138
Comments
@ffMathy it seems to be possible to do that. Here are some preliminary results |
Woah that'll be insanely useful! Can't wait until it is up! |
Is there an ETA on when it'll be published to NuGet? |
I've just opened PR for this feature so I guess we should be able to release it within 1 or 2 weeks |
Great to hear, and perfect that you linked this issue. Looking forward to it. Thanks again. |
Hmmm @dtchepak these don't work for me in Visual Studio 2019 (latest update). Can you get them working? I noticed you're using Rider in your example. |
Let's say that I have
ServiceA
with dependenciesServiceB
andServiceC
:Now, if I type:
It would be awesome if Roslyn would suggest an action called
Introduce Substitute for ServiceB
, which would turn the code into:The text was updated successfully, but these errors were encountered: