Skip to content

Concepts

Core ideas behind go-testgen.

  • Check Functions — the central pattern: closure-based assertions that compose per test case
  • Mocks — generating testify mocks for interface dependencies
  • Channel Types — detecting and handling chan, chan<-, <-chan in parameters and results