Using Interfaces and Mocks in Go

A reliable and comprehensive test suite for your applications isn’t a luxury anymore—it’s a requirement. This course is the second in a series of "Testing in Go" programs that teach you how to test your Go applications to make sure what you ship works the first time. This course focuses sp...

Descripción completa

Detalles Bibliográficos
Otros Autores: Ketelsen, Brian, author (author)
Formato: Video
Idioma:Inglés
Publicado: O'Reilly Media, Inc 2017.
Edición:1st edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630289606719
Descripción
Sumario:A reliable and comprehensive test suite for your applications isn’t a luxury anymore—it’s a requirement. This course is the second in a series of "Testing in Go" programs that teach you how to test your Go applications to make sure what you ship works the first time. This course focuses specifically on using interfaces and mocks to make your code more testable by injecting dependencies. Explore Go's interfaces as they relate to testing Understand how to make your code more testable by injecting dependencies Discover how to use Go's interfaces for dependency injection Create mocks of your external dependencies and use them to make your unit tests more self-contained Learn how to keep your code testable by organizing your packages by dependency Brian Ketelsen is the founder of the Gopher Academy, the parent group that manages GopherCon, the Go programming language conference. A prolific open source enthusiast, he has contributed to many of Go's largest projects, including Docker, Kubernetes, etcd, SkyDNS, Kong, Go-Kit, and Goa. Brian holds a bachelor’s degree in computer science from American InterContinental University.
Notas:Title from title screen (viewed August 10, 2017).
Descripción Física:1 online resource (1 video file, approximately 16 min.)