minimock icon indicating copy to clipboard operation
minimock copied to clipboard

Powerful mock generation tool for Go programming language

Results 35 minimock issues
Sort by recently updated
recently updated
newest added

In this pr i introduce 3 bugs/improvements: 1. We have to update gowrap when pr https://github.com/hexdigest/gowrap/pull/86 is merged, to fix generation of interfaces with unions and type approximations. 2. Improvement...

Bumps [github.com/goreleaser/goreleaser](https://github.com/goreleaser/goreleaser) from 1.23.0 to 1.24.0. Release notes Sourced from github.com/goreleaser/goreleaser's releases. v1.24.0 Changelog New Features ee7a1e66ab2aff596a2963a5f03b493916befa41: feat(artifactory): publish source archives too, log when no archives found (#4586) (@​caarlos0) 189aa15101a7a2693bddbaf72c3bbe47640cac50:...

dependencies

Bumps google.golang.org/protobuf from 1.30.0 to 1.33.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/protobuf&package-manager=go_modules&previous-version=1.30.0&new-version=1.33.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands...

dependencies

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.19.0 to 0.23.0. Commits c48da13 http2: fix TestServerContinuationFlood flakes 762b58d http2: fix tipos in comment ba87210 http2: close connections when receiving too many headers ebc8168 all: fix...

dependencies

Bumps [github.com/sigstore/cosign/v2](https://github.com/sigstore/cosign) from 2.2.1 to 2.2.4. Release notes Sourced from github.com/sigstore/cosign/v2's releases. v2.2.4 Bug Fixes Fixes for GHSA-88jx-383q-w4qc and GHSA-95pr-fxf5-86gv (#3661) ErrNoSignaturesFound should be used when there is no signature...

dependencies

Hi, Currently if a panic happens before all expected calls to mocks are made the panic output is not shown in the test output, there is only the missing expected...

I was trying to use minimock last week and found that the generated mocks were failing staticcheck's [SA5011 - Possible nil pointer dereference](https://staticcheck.io/docs/checks/#SA5011). Example: ``` cacher_mock_test.go:1921:65: possible nil pointer dereference...

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.7+incompatible to 24.0.9+incompatible. Release notes Sourced from github.com/docker/docker's releases. v24.0.9 24.0.9 For a full list of pull requests and changes in this release, refer to the relevant...

dependencies

In some (quite rare, but anyway) test cases you cannot predict if the method will be called for particular instance of mocked interface. Say, you test the concurrency and plan...

Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/protobuf&package-manager=go_modules&previous-version=1.31.0&new-version=1.33.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...

dependencies