Skip to content

testing capability

testing adds test utilities and example tests to your Go service to establish good testing patterns from the start.

  • Test helper functions
  • Example table-driven tests
  • Test fixtures pattern

Add testing to any service that needs a consistent test infrastructure. The example table-driven tests and helper patterns give the team a template to follow — reducing the inconsistency that accumulates when each developer writes tests their own way.

Terminal window
verikt new my-service --language go --cap testing
# or add to an existing service:
verikt add testing

linting

Linting to enforce code quality alongside tests.

pre-commit

Pre-commit hooks that run tests before every commit.

ci-github

GitHub Actions that runs tests on every PR.