You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jwalgran are you picturing something in the style of a 2-thread LiveServerTestCase making network requests, or an all-go solution that tests requests and response? The former sounds like a lot of work without a solution to grab off the shelf. The latter is well covered here: http://golang.org/pkg/net/http/httptest/#ResponseRecorder
The latter would probably make this a duplicate of #25
The existing title and description may not be accurately capturing what we really need. Any set of REST services needs coverage around the interface to protect against regression. The three things we
should strive to do are:
Assert the existence/names of all the endpoints.
Assert the shape and behavior of the request bodies and query
string parameters.
We should have a few small tests that hit a fully running service to exercise the HTTP pipeline.
The text was updated successfully, but these errors were encountered: