Add tests
hugohabicht01 opened this issue · comments
hugohabicht01 commented
I just tried to get started with gin and I am struggling a bit with unit testing my sample app. Would it be possible to add a example with tests so that I can see how to properly test gin applications?
Bo-Yi Wu commented
hugohabicht01 commented
That isnt really explaining anything at all. I think everybody will be able to test a "ping pong route" by himself. I am more looking for some testing of a little rest api and not just one route with always the same output....
Bo-Yi Wu commented
You can see the more example in https://github.com/appleboy/gofight