-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 a requestedFor method allowing to pass Http method as parameter #2175
feat: add a requestedFor method allowing to pass Http method as parameter #2175
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely +1. I would rather deprecate the older methods TBH, because they may cause quite a lot of confusion. Also agree about the documentation, though it would be great to document this particular method there
@oleg-nenashev, thank you for the review.
|
No strong opinion, I guess @tomakehurst should make a call on deprecation |
Please could you run |
Re deprecation, I assume you're talking about If so, I don't think we ought to deprecate. They're convenience DSL methods for the most commonly used HTTP methods, and can co-exist with the general case. |
e0fe729
to
00403d1
Compare
Hi @tomakehurst, I just forced push. |
Merging the latest from master should fix the test error |
…eter. It is useful for parameterized test, when you also use `request(String method, UrlPattern urlPattern)`
00403d1
to
d12821e
Compare
It should be ok @tomakehurst (at least |
It is useful for parameterized test, when you also use
request(String method, UrlPattern urlPattern)
So you are able to write your test like this:
References
Submitter checklist