Show HN: Testify mock without the boilerplate (Golang)

I’ve been annoyed by writing boilerplate code for testify mocks, so I made this super lightweight and modest library that can generate mocks for any interface during runtime, without extra build steps.

There is a readme file in the repo root with a code snippet that hopefully explains the intended usage.

For those unfamiliar with testify mock:
https://pkg.go.dev/github.com/stretchr/testify/mock


Comments URL: https://news.ycombinator.com/item?id=42566487

Points: 1

# Comments: 0


Posted

in

by

Tags:

Comments

Leave a Reply