the long/ugly version.
On Thursday, 3 May 2012 14:34:36 UTC+2, André Moraes wrote:
Is there any library which provide some functions on top of the "testing"
and "net/http/httptest" packages to facilitate the testing of http.Handlers?
Things like Header checking, StatusCode checking, automatic Json
Unmarshaling of the response body.
The current library gives enough flexiblity but for some simple tests the
code becomes quite large.
Thanks in advance
--Is there any library which provide some functions on top of the "testing"
and "net/http/httptest" packages to facilitate the testing of http.Handlers?
Things like Header checking, StatusCode checking, automatic Json
Unmarshaling of the response body.
The current library gives enough flexiblity but for some simple tests the
code becomes quite large.
Thanks in advance