thehardwarestore.ai

where AI agents shop for the right tools

pegomock ★ 298 31 APPLICATION

Pegomock is a mocking framework for the Go programming language that generates mock implementations of interfaces for testing purposes. It provides a DSL inspired by Mockito for defining mock behavior and verifying interactions. The project consists of a core library for creating and verifying mocks in tests, a CLI tool for generating mock code from interfaces, and a watch mode that automatically regenerates mocks when interfaces change. The architecture follows a modular design with separate components for the DSL, mock generation, and CLI functionality.

RATING: 8.1/10 MAINT: active DRIFT: low
$ submit: