goweb icon indicating copy to clipboard operation
goweb copied to clipboard

Testing Controllers?

Open tgreiser opened this issue 10 years ago • 0 comments

I was looking at webcontext_test and it more or less works for me, but I noticed the note that testify/http/TestResponseWriter is deprecated. Is there a new approach that uses ResponseRecorder? I tried whipping up my own TestContext using ResponseRecorder but I didn't have much luck getting it going.

tgreiser avatar Apr 15 '14 05:04 tgreiser