Book

Test-Driven Development in Go

Test-Driven Development in Go teaches developers how to use TDD for all their production testing needs, including unit tests, end-to-end testing, contract testing, generics, and even fuzzing. The chapters demonstrate techniques and frameworks with code examples, allowing you to immediately apply them in your production code.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

11h24m

Language

English

About Book

Who Is This Book For?

If you are an intermediate-level developer or software testing professional who knows Go fundamentals and is looking to deliver projects with Go, then this book is for you. Knowledge of Go syntax, structs, functions, and interfaces will help you get the most out of this book.

Book content

chapters 11h24m total length

Product Information Document

Getting to Grips with Test-Driven Development

Unit Testing Essentials

Mocking and Assertion Frameworks

Building Efficient Test Suites

Performing End-to-End Testing

End-to-End Testing the BookSwap Web Application

Refactoring in Go

Testing Microservice Architectures

Challenges of Testing Concurrent Code

Testing Edge Cases

Working with Generics

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required