Nested Tests

Episode 16

This screencast shows you how to use Go’s Subtests feature. Subtests are new in Go 1.7 and can help you write and organize your code much more easily. They can also help you design and build much more powerful unit and integration tests.


Sponsored by Minio - Minio is an open source object storage server, compatible with Amazon S3 and written in Go. It is light enough to be bundled along the application stack, similar to Node.js and MongoDB. Check them out at or hangout with them at


Don’t forget to follow follow on Twitter and subscribe to the mailing list!

Check out the example code on Github.

If you enjoyed this screencast, please consider becoming a backer and supporting Go in 5 Minutes. Cool stickers and more await you!