Go in 5 Minutes, episode 6.
This screencast shows two ways to quickly and effectively test your net/http
handlers.
Screencast video: https://goin5minutes.com/screencast/episode_6_unit_testing_http_handlers/
Our website is up and running! Right now, it houses a permanent list of all screencasts, but I'm planning to expand it with more auxiliary content.
Please sign up for our newsletter to get emails when new screencasts come out.
- Flash back to episode 0
- net/http/httptest & testsrv
- pure handler vs. router & handler tests
- Example - an API server to wrap the Github API