go-rest-api icon indicating copy to clipboard operation
go-rest-api copied to clipboard

Create integration test for generated request using test token.

Open azmb opened this issue 7 years ago • 1 comments

In order to avoid bugs like: https://github.com/messagebird/go-rest-api/pull/23 we need integration test that will talk to Messagebird API. We need to compare response data to requested data.

azmb avatar Mar 01 '18 13:03 azmb

Although it does not actually hit the API, this PR adds support for asserting a certain endpoint was called (method + path). Additionally, it allows for inspecting request bodies generated by the client.

epels avatar Jul 25 '18 12:07 epels