all options
forky  ] [  sid  ]
[ Source: golang-github-maxbrunsfeld-counterfeiter  ]

Package: counterfeiter (6.12.0-1)

Links for counterfeiter

Screenshot

Debian Resources:

Download Source Package golang-github-maxbrunsfeld-counterfeiter:

Maintainers:

External Resources:

Similar packages:

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.

Download counterfeiter

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 2,386.3 kB7,748.0 kB [list of files]
arm64 2,045.4 kB7,356.0 kB [list of files]
armhf 2,063.0 kB7,192.0 kB [list of files]
i386 2,226.9 kB7,055.0 kB [list of files]
ppc64el 2,052.7 kB7,676.0 kB [list of files]
riscv64 2,096.5 kB7,356.0 kB [list of files]
s390x 2,169.4 kB8,252.0 kB [list of files]