Unit, integration and functional Testing in Golang (Go)
- 4.1
Brief Introduction
Everything you'll need to completely test your Go applicationsDescription
In this course we're covering every aspect of the testing features in Go:
Basic unit tests.
Test Driven Development.
Unit test a single layer of your application.
How to use Go modules.
How the TestMain function works and how to use it.
Mock and unit test external REST API calls.
Mock and integration test REST API calls form inner layers of your application.
How to perform functional tests.
How to define and write benchmarks to compare the quality of two versions of the same solution.
Mock and unit test MySQL database connection and query.
Mock frameworks available out there.
Asserts in Go: Why don't we have them? How to implement them in a safe way.
Requirements
- Requirements
- Just complete the Official Go Tour available at Go's homepage