builder/

directory
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2020 License: Apache-2.0

README

Builder package for tests

This package holds Builder functions that can be used to create struct in tests with less noise.

One of the most important characteristic of a unit test (and any type of test really) is readability. This means it should be easy to read but most importantly it should clearly show the intent of the test. The setup (and cleanup) of the tests should be as small as possible to avoid the noise. Those builders exists to help with that.

There is currently two versionned builder supported:

Directories

Path Synopsis
Package builder holds Builder functions that can be used to create struct in tests with less noise.
Package builder holds Builder functions that can be used to create struct in tests with less noise.
Package builder holds Builder functions that can be used to create struct in tests with less noise.
Package builder holds Builder functions that can be used to create struct in tests with less noise.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL