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

Way to print which Mocks are registered to a MockServer #92

Open
tgross35 opened this issue Oct 18, 2023 · 0 comments
Open

Way to print which Mocks are registered to a MockServer #92

tgross35 opened this issue Oct 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@tgross35
Copy link

It would be nice to have a way to see e.g. what URLs are matched or what the rules are. Part of this could just be a Debug impl on Mock that prints the fields of RequestRequirements that are Some in a nice way.

Maybe MockServer could have a fn (&self) -> impl Iterator<Item=&Mock> somehow? I am less sure how those are stored internally.

@github-actions github-actions bot added the stale label Nov 18, 2023
Repository owner deleted a comment from github-actions bot Nov 19, 2023
@alexliesenfeld alexliesenfeld added enhancement New feature or request and removed stale labels Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants