Most Go tutorials and introductory texts leave testing to the end; many just skip the topic. However, knowing how to test Go code is a key job requirement. It can also help you master Go faster by letting you easily test your hypotheses as you practice the language.
Luciano Ramalho offers an introduction to test-driven development, covering essential testing techniques that make the test-first approach practical and even enjoyable. You’ll use TDD to develop a utility from scratch: runes, a command-line program that lets you search Unicode characters by name. (Luciano uses it daily to find special symbols and emojis.)
©2018, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • email@example.com