英文: Mocked protected method not returning value set in mock 问题 This constructor loads a JSON file us...
如何在表驱动测试中覆盖模拟调用的期望值
英文: How to override mocked calls expectations in table driven tests 问题 在进行表驱动测试时,我使用了由mockery生成的一些模拟...
扩展 Mockery::on断言以适用于常见用例
英文: Extend Mockery::on assertions for common Use Cases 问题 Is extending Mockery for commonly used ass...
如何在Golang中使用Mockery v0.0.0-dev?
英文: How to use Mockery v0.0.0-dev in Golang? 问题 我正在尝试使用mockery在Golang中生成模拟数据,该仓库要求使用v0.0.0-dev版本。 我运...