vektra/mockery

Go 7.0k stars

A mock code autogenerator for Go

⟳ Syncing… Share on X →
README badge: [![ngmi](https://ngmi.review/badge/vektra/mockery.svg)](https://ngmi.review/repo/vektra/mockery)
431 Merged PRs
14 days Avg Merge Time
0m Fastest PR
1 year Slowest PR
#1670 Global Speed Rank

Trends Over Time

Monthly aggregates for this repo. The gap between average and median shows how much outliers are skewing the data.

PR size over time (lines changed)
Review time over time (hrs)
Changes requested rate over time (%)
Merged PRs per month

PR Size Analysis

Lines changed (additions + deletions) vs review outcomes. Re-sync to populate data for older PRs.

PRs by size
Avg review time (hrs)
Clean approval rate (%)

Top Reviewers

Recent Merged PRs

# Title Author Time Reviews Blocks
#1142 v3: Support Go 1.26 @LandonTClipp 16.4h 0
#1137 Basic documentation updates @LandonTClipp 2 days 0
#1135 Fix breaking change with InterfaceDirRelative @LandonTClipp 4.6h 0
#1134 Fix InterfaceDirRelative at top-level @LandonTClipp 7 days 0
#1125 fix: constraint interfaces generation @Alhanaqtah 1 month 3
#1128 Add logs/docs that aid in confusion around auto-generated files @LandonTClipp 3m 0
#1105 Add support for overriding configuration through comments on interfaces @paivagustavo 2 months 9
#1121 Fix autogenerated code detection @rethil 2 days 1
#1116 Fix go.work.sum breaking release @LandonTClipp 10m 0
#1115 Bump github.com/go-viper/mapstructure/v2 to v2.4.0 to address security concerns @RainbowMango 9.2h 0
#1096 Output boilerplate first @skitt 29 days 1
#1111 fix: yaml invalid @dvordrova 43m 1
#1106 Remove duplicate config initialize @paivagustavo 2 days 1
#1109 Support Go 1.25 in mockery v2 @LandonTClipp 7m 0
#1104 Support Go 1.25 @LandonTClipp 2.0h 0
#1099 Fix bug with replace-type not working with pointers @LandonTClipp 2.7h 0
#1081 Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 @dependabot 17 days 1
#1080 Fix issue with rendering multiple templates from same interface @LandonTClipp 10m 0
#1079 Add `include-auto-generated` config option @LandonTClipp 1.1h 0
#1077 Add `inpackage` flag to override in-package detection logic @LandonTClipp 2 days 0