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

Support for deleting specific stub #123

Closed
jbgosselin opened this issue Sep 9, 2022 · 1 comment
Closed

Support for deleting specific stub #123

jbgosselin opened this issue Sep 9, 2022 · 1 comment

Comments

@jbgosselin
Copy link

Hi there ! Nice project !

I would like to use it in order to mock GRPC APIs during testing.
I want to use a mix of static stubs and per test stub that would be cleared at the end of the test.
The problem is that it is only possible to delete all stubs at once, including static ones.

I was thinking of adding an auto generated ID to each stub and being able to delete a single stub if necessary.

Might make a PR implementing that.

I just want to have your thoughts about it.

@jbgosselin
Copy link
Author

Thanks a lot for the improvement on v2 !

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

No branches or pull requests

1 participant