Skip to content
Snippets Groups Projects

mocks: Reorganize mock definitions into multiple files

Merged Warren Gifford requested to merge ef/multifile-mockgen into main

Created by: efritz

Move all _test.go generated files into mockgen.test.yaml and all others into mockgen.temp.yaml. We should try to minimize the number of non-test mocks we generate here, so the second file should go down to zero eventually (wishful thinking).

Other developers are free to add additional team/domain-specific mock files (in other layers of the file hierarchy as well) where meaningful.

Test plan

Ran locally to ensure the same content was generated.

Merge request reports

Merged by avatar (May 6, 2025 4:54pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading