Bug#1119709: ITP: golang-github-maxbrunsfeld-counterfeiter -- A tool for generating self-contained, type-safe test doubles in go
Package: wnpp
Severity: wishlist
Owner: Reinhard Tartler <siretart@tauware.de>
* Package name : golang-github-maxbrunsfeld-counterfeiter
Version : 6.12.0-1
Upstream Author : Max Brunsfeld
* URL : https://github.com/maxbrunsfeld/counterfeiter
* License : Expat
Programming Lang: Go
Description : Tool for generating type-safe test doubles in Go
Counterfeiter generates self-contained, type-safe fake implementations
(test doubles) for Go interfaces. It is particularly useful in unit
testing to create mocks without manual boilerplate.
.
The tool integrates seamlessly with `go generate` and supports both
local and third-party interfaces. Generated fakes record call history
and allow stubbing return values, making them ideal for behavior-driven
testing with frameworks like Ginkgo or Go's standard testing package.
.
This package provides the `counterfeiter` binary and is intended for
use in Go development environments.
Reply to: