proxy.golang.org : github.com/lufia/mofu
Package mofu provides utilities to create a mock function to use in test code. There are some internal queues in the mock object. A queue is created for corresponding to an argument pattern. Additionally there is a queue for the default pattern. The mock function consumes an item on the top of the queue when the mock function is called. If the queue is empty, the mock function returns default values or zero values.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/lufia/mofu
Keywords:
golang
, mocking
, testing
License: BSD-3-Clause
Latest release: about 2 months ago
First release: 2 months ago
Namespace: github.com/lufia
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/lufia
Last synced: 3 days ago