Open jwalgran opened 10 years ago
@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:
We should have a few small tests that hit a fully running service to exercise the HTTP pipeline.