Creating Well-tested Applications in Go
Pluralsight
Course Summary
This course provides a tour of Go's testing framework, giving a deep and thorough review of each area.
-
+
Course Description
Go is built from the ground up to be simple and easy to use. This extends to its testing framework. Rather than learning a whole new set of programming constructs, writing tests in Go is just like writing any other code. It is, however, a complete framework with various conventions and tools available to make writing tests easier. This course is designed to introduce you to testing in Go. For the casual developer, module one gives a nice overview of the major concepts without bogging you down in the details. More advanced users can then move on to the other modules where I will walk you through an in-depth, step-by-step investigation of Go’s testing capabilities and leave you ready to write well-tested applications into your production environment.
-
+
Course Syllabus
Testing in Go- 41m 28s
—Introduction 3m 19s
—Agenda 3m 31s
—Target Audience 1m 53s
—Review of the Development Environment 2m 49s
—Naming Conventions for Tests 2m 7s
—Creating a Regular Test 6m 24s
—Additional Unit Test Functions 3m 19s
—Code Coverage Basics 2m 44s
—Benchmark Tests 5m 6s
—Example Tests 2m 58s
—Tour of the Business Scenario 5m 34s
—Summary 1m 40sUnit Testing- 38m 23s
—Introduction 1m 46s
—Running Specific Tests 2m 29s
—Using Timeouts 1m 45s
—Test Flow Control - Aborting a Test 1m 42s
—Test Flow Control - Skipping a Test 3m 9s
—Running Tests in Parallel 2m 7s
—Custom Test Runner 2m 54s
—Table Driven Tests 3m 37s
—Adding Tests to Real-world Applications 4m 59s
—Preparing a Codebase for Tests 4m 35s
—Testing with Mock Objects 8m 11s
—Summary 1m 6sCode Coverage Analysis- 18m 18sBlackbox Testing- 32m 57sPerformance Benchmarking- 26m 24sExample Tests- 15m 35sTesting Web Applications- 15m 54sPerformance Profiling- 39m 19s