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
-
I'm creating
TestClient
that accepts a dummyApplication
that only implements methods, URLs, status codes & response.And then in a test I'm using that
TestClient
instance to make requests (through an actual application). How can I verify if I'm passing correct payload toPOST
request? I've went throughTestClient
,Application
&TestServer
, but didn't find anything useful.Should I just
mocker.spy
theClientSession
?Beta Was this translation helpful? Give feedback.
All reactions