uber-go/mock
GoMock is a mocking framework for the Go programming language.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
No releases in the last 90 days; the most recent was 439 days ago, with 120 contributors on GitHub.
Gained 40% fewer stars in the last 90 days than in the 90 days before.
Use Cases & Benefits
- Provides a mocking framework for the Go programming language to generate mock interfaces for testing.
- Integrates seamlessly with Go's built-in testing package and supports multiple modes for flexible mock generation.
- Use for creating mocks from Go source files to unit test interfaces in isolated environments.
- Use for generating mocks from package archives to test compiled Go packages without source code.
- Use for customizing mock behavior and failure messages to improve test clarity and debugging.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
- Contributing guide: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
gomock is a mocking framework for the Go programming language. It integrates well with Go's built-in
testingpackage, but can be used in other contexts too.This project originates from Google's
golang/mockrepo. Unfortunately, Google no longer maintains this project, and given the heavy usage of gomock project within Uber, we've decided to fork and maintain this going forward at Uber.Contributions are welcome in the form of GitHub issue or PR!
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
185+10
Open issues
124+13
Compared with peers in Backend
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| anthropics/skills | 187.8K | +2.9K | 15 | — |
| DuarteSantos8/openGym | 19.7K | +2.4K | 60 | 2 days ago |
| shiyu-coder/Kronos | 47.0K | +2.3K | 16 | — |
| NationalSecurityAgency/ghidra | 98.2K | +2.3K | 64 | 14 days ago |
| microsoft/VibeVoice | 56.0K | +1.1K | 29 | — |
| uber-go/mock | 3.4K | — | 40 | 439 days ago |
| Category median | 56.0K | +2.3K | 29 | — |
Also by uber-go
Other repositories from this maintainer that GStars tracks
Discover Repositories
Search across tracked repositories by name or description