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

feat: add new endpoint to verify number of calls for stub #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chipim
Copy link

@chipim chipim commented Mar 18, 2023

Motivation

As also suggested in #66, I think it would be useful for some test scenarios to verify if a stub was consumed or not.

Discussion

  • I was not sure about just exposing the new timesCalled json prop for the storage type or alike, so that the listStub API already provides that info for the clients; instead of adding a new HTTP API endpoint.

  • I'm new to Golang, sorry for any rudimentary errors 🙈

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

Successfully merging this pull request may close these issues.

1 participant