Testing payload passed within the request - testing #8060
Unanswered
mdczaplicki
asked this question in
Q&A
Replies: 1 comment
-
|
Have you got some sample code? I'm not overly clear on what you mean. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm creating
TestClientthat accepts a dummyApplicationthat only implements methods, URLs, status codes & response.And then in a test I'm using that
TestClientinstance to make requests (through an actual application). How can I verify if I'm passing correct payload toPOSTrequest? I've went throughTestClient,Application&TestServer, but didn't find anything useful.Should I just
mocker.spytheClientSession?Beta Was this translation helpful? Give feedback.
All reactions