vektra / mockery

A mock code autogenerator for Go
https://vektra.github.io/mockery/
BSD 3-Clause "New" or "Revised" License
5.8k stars 395 forks source link

Question: MinTimes(), MaxTimes() #738

Closed PerMalmberg closed 7 months ago

PerMalmberg commented 7 months ago

Description

I'm currently porting a test suite from gomock to Mockery. So far everything is a near drop-in in terms of compatibility but I'm missing MinTimes(N) and MaxTimes(N) on the Call type. Can they be achieved using another mechanic that I've overlooked?

Mockery Version

v2.38.0

Golang Version

go version go1.21.4 darwin/amd64

Installation Method

PerMalmberg commented 7 months ago

I realized this actual a question for Testify, not Mockery. Closing issue.