Skip to content

The exercises and samples for the training "Testing Go Projects".

Notifications You must be signed in to change notification settings

stationedabroad/testing-go-projects

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing Go Projects

Implementing test code for Go projects and its continuous execution is an integral activity to ensure that the software is ready for prime time. As developers, we often claim that certain pieces of software are untestable. It either has dependencies on actual services like a database or an HTTP API, requires extensive setups, or simply isn’t structured properly to set yourself up for success.

Testing doesn’t have to be hard. In this training, you’ll learn the ropes of writing and executing tests with the standard testing package. Moreover, you’ll apply proven testing techniques to verify hard-to-test code regularly encountered in real-world projects.

Prerequisites

The exercises in this repository practice features and use cases of the Go module system. Please make sure to follow the instructions for setting up your environment before joining the training.

Exercises

All exercises are numbered and live in dedicated directories starting with the name exercise-. You'll find instructions for each exercise in each folder. Solutions are available in the solution folder. Try to solve each exercise yourself before having a look at the solution.

About

The exercises and samples for the training "Testing Go Projects".

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%