Learn more with the Ultimate Guide to Web Apps in Go: https://bit.ly/webapps-go
We show how to write unit tests against HTTP handlers. Using an example API server that proxies the Github API using Google’s go-github client library (https://godoc.org/github.com/google/g..., we outline and show examples of two methods for testing.
Code and outlines are on Github at: https://github.com/arschles/go-in-5-m...
Sign up for our newsletter to get new screencast notifications by email: http://www.goin5minutes.com/subscribe
Watch video Writing Unit Tests for your net/http Handlers (Episode 6) online without registration, duration hours minute second in high quality. This video was added by user Go In 5 Minutes 09 November 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,94 once and liked it 5 people.