Ecosyste.ms: Issues

An open API service for providing issue and pull request metadata for open source projects.

GitHub / golang/mock issues and pull requests

#707 - fix: file not closed if Write returns an error

Pull Request - State: closed - Opened by alexandear over 1 year ago

#706 - How to mock receiver in method

Issue - State: open - Opened by forjoin92 over 1 year ago
Labels: type: feature request

#705 - fix: CVE-2020-29652 CVE-2021-44716 CVE-2022-32149 etc.

Pull Request - State: closed - Opened by testwill over 1 year ago

#704 - T instead of t used in generate file

Issue - State: closed - Opened by moomman over 1 year ago

#703 - Support for variadic arguments in SetArgs method

Pull Request - State: closed - Opened by djbelyak over 1 year ago

#702 - record invocation arguments in generated code

Pull Request - State: open - Opened by kucherenkovova over 1 year ago - 1 comment

#701 - Add support for anonymous struct returns

Pull Request - State: open - Opened by bjohnson-va over 1 year ago

#700 - Wrong mock generated for the interface with generics

Issue - State: open - Opened by heww over 1 year ago

#698 - support compile time checks for regen

Issue - State: open - Opened by bogdanlytvynovskyi over 1 year ago - 2 comments
Labels: type: feature request

#697 - Is this project "active"?

Issue - State: open - Opened by yeukhon over 1 year ago - 2 comments

#695 - Add builtin custom matcher function

Issue - State: open - Opened by ilya-hontarau over 1 year ago - 1 comment
Labels: type: feature request

#694 - Pass if struct contains minimal required parameters

Issue - State: closed - Opened by tsuz over 1 year ago - 1 comment
Labels: type: feature request

#693 - mockgen: fix comment

Pull Request - State: open - Opened by cuishuang over 1 year ago

#692 - Exact matching on varargs of type interface{}

Issue - State: open - Opened by Step2Web over 1 year ago

#690 - Unexpected access should print stack trace

Issue - State: open - Opened by feldentm-SAP almost 2 years ago
Labels: type: feature request

#688 - Adding support for Protobufs generated with v2 tooling

Pull Request - State: closed - Opened by jprobinson almost 2 years ago - 1 comment

#687 - Adding support for Protobufs generated with v2 tooling

Pull Request - State: closed - Opened by jprobinson almost 2 years ago

#686 - Implement OverridableController to allow for mock overrides

Pull Request - State: open - Opened by styeung almost 2 years ago - 2 comments

#684 - How to write the mock result to a file in reflect mode

Issue - State: open - Opened by fengyeall111 almost 2 years ago - 3 comments

#683 - Add -embed flag into mockgen

Pull Request - State: open - Opened by stoikheia almost 2 years ago - 1 comment

#682 - fix: #681 Generic generation failed without specifying source

Pull Request - State: open - Opened by songzhibin97 almost 2 years ago - 1 comment

#681 - Generic generation failed without specifying source

Issue - State: open - Opened by songzhibin97 almost 2 years ago - 1 comment

#680 - Improve mock usability in tests

Pull Request - State: open - Opened by feldentm-SAP almost 2 years ago - 2 comments

#679 - mockgen: fix function name on comment

Pull Request - State: open - Opened by cuishuang almost 2 years ago

#678 - mockgen: replace bytes.Compare with bytes.Equal

Pull Request - State: open - Opened by cuishuang almost 2 years ago

#676 - mockgen: replace io/ioutil with io and os package

Pull Request - State: open - Opened by cuishuang about 2 years ago

#675 - mockgen: fix typo

Pull Request - State: open - Opened by cuishuang about 2 years ago

#674 - add automation script samples

Issue - State: open - Opened by mohammadne about 2 years ago - 1 comment
Labels: status: needs discussion, type: feature request

#673 - Allow Any to take a list of matchers

Pull Request - State: open - Opened by guywithnose about 2 years ago - 1 comment

#672 - Maintenance status of mockgen

Issue - State: closed - Opened by sodul about 2 years ago - 2 comments
Labels: type: feature request

#671 - Mockgen: Support generating mock for interfaces that contain a generic typed return value

Issue - State: closed - Opened by CNLHC about 2 years ago - 2 comments
Labels: type: feature request

#670 - mockgen only create file and package, but not create interface and struct

Issue - State: closed - Opened by cccccccccy about 2 years ago - 2 comments
Labels: type: question, status: needs more info

#669 - feat: support embedded generic interfaces

Pull Request - State: closed - Opened by tra4less about 2 years ago - 25 comments

#668 - [mockgen] Errors creating mocks for embedded generic interfaces

Issue - State: closed - Opened by kevinconaway about 2 years ago - 1 comment

#667 - Help generating mocks for generics

Issue - State: closed - Opened by btomasini about 2 years ago - 2 comments

#666 - Cannot parse type parameters on return interface types

Issue - State: closed - Opened by Fryuni about 2 years ago - 2 comments

#665 - Loading input failed: failed parsing source file internal/handler/handler: open internal/handler/handler: The system cannot find the path specified.

Issue - State: open - Opened by melitadn about 2 years ago - 2 comments
Labels: type: question, status: needs more info

#664 - Expose the mockgen.generator type

Issue - State: closed - Opened by wdullaer about 2 years ago - 1 comment
Labels: type: feature request

#663 - gomock generics support enhancement

Pull Request - State: open - Opened by bradleygore about 2 years ago - 25 comments

#660 - Introduce possibility to list required interfaces so mockgen won't generate all of them in source mode

Issue - State: open - Opened by kliukovkin over 2 years ago - 2 comments
Labels: type: feature request

#658 - Incorrectly treating generic types as exported types

Issue - State: open - Opened by alexandreLamarre over 2 years ago - 2 comments

#653 - Order of calls is enforced when `InOrder()` or `After()` were not invoked

Issue - State: open - Opened by alexykot over 2 years ago - 4 comments
Labels: type: bug, status: investigating

#651 - Inconsistent import names between Docker environments

Issue - State: open - Opened by KenxinKun over 2 years ago
Labels: type: bug

#648 - Improve debugging help for reflection errors

Pull Request - State: open - Opened by jamietanna over 2 years ago - 2 comments

#647 - Adopt cmp.Diff for showing unmatched arguments

Pull Request - State: open - Opened by SpencerC over 2 years ago - 3 comments

#646 - Does `-imports` work? Package alias is inconsistent, and -imports does not fix it.

Issue - State: open - Opened by AndrewDK over 2 years ago - 2 comments
Labels: type: bug

#645 - Mock Embedded Interface in the SAME Package

Issue - State: closed - Opened by jayaike over 2 years ago - 3 comments

#644 - PATH add example

Pull Request - State: open - Opened by vitaly-zdanevich over 2 years ago

#643 - Nested interfaces with Generics

Issue - State: open - Opened by bradleygore over 2 years ago - 6 comments

#640 - add support for generics for source mode

Pull Request - State: closed - Opened by codyoss over 2 years ago - 11 comments
Labels: status: do not merge

#638 - Source mode fails with embedded interfaces in the same package

Issue - State: closed - Opened by joy717 over 2 years ago - 4 comments

#636 - New `mockgen` option to allow users to add build tag on mock file

Issue - State: closed - Opened by sanposhiho over 2 years ago - 4 comments
Labels: type: feature request

#633 - Add archive mode

Pull Request - State: open - Opened by dr-dime over 2 years ago - 2 comments

#630 - Support type-safe return values

Pull Request - State: closed - Opened by tra4less over 2 years ago - 17 comments

#627 - feat: Add AllExpectedCallsSatisfied to Controller

Pull Request - State: closed - Opened by FlorianLoch over 2 years ago - 10 comments

#626 - Skip rewriting output files if unchanged

Pull Request - State: closed - Opened by sodul over 2 years ago - 4 comments

#622 - Type-safe return values

Issue - State: open - Opened by trim21 over 2 years ago - 6 comments
Labels: status: needs more info, type: feature request

#621 - Mockgen: Support generating mock for interfaces with generics

Issue - State: closed - Opened by lingyv-li over 2 years ago - 52 comments
Labels: type: feature request

#620 - Mockgen : Imports doesn't generate import line

Issue - State: closed - Opened by marcelloh over 2 years ago - 4 comments
Labels: status: needs more info

#618 - add exists file data comparison before write

Pull Request - State: closed - Opened by kozmod over 2 years ago - 2 comments

#617 - Adding method to Controller allowing to check whether all expected calls have been made

Issue - State: open - Opened by FlorianLoch over 2 years ago - 4 comments
Labels: type: feature request

#615 - Unexported mock types

Issue - State: open - Opened by affanshahid over 2 years ago - 3 comments
Labels: type: feature request

#604 - Only rewrite output files if changes are needed.

Issue - State: open - Opened by sodul almost 3 years ago - 6 comments
Labels: help wanted, type: feature request

#599 - fix: avoid pkg name <> import pkg name conflicts

Pull Request - State: closed - Opened by notbdu almost 3 years ago - 2 comments
Labels: status: needs more info

#597 - Support stacking mocks on top of real implementations

Issue - State: open - Opened by chawld almost 3 years ago - 2 comments
Labels: status: needs discussion, type: feature request

#595 - feat: allow setting args for variadic functions

Pull Request - State: closed - Opened by bergotorino almost 3 years ago - 8 comments

#591 - Make verification of mocked calls optional

Issue - State: open - Opened by snargleplax about 3 years ago
Labels: type: feature request

#590 - proposal: Add a new matcher which return true if it matches one of given value

Issue - State: open - Opened by MakDon about 3 years ago - 12 comments
Labels: status: needs discussion, type: feature request

#586 - AST duplication compare only by paths, not by alias. Fix it

Pull Request - State: closed - Opened by TheZeroSlave about 3 years ago - 6 comments

#574 - Add invocation args & mockgen version in generated code

Pull Request - State: closed - Opened by n1lesh over 3 years ago - 1 comment

#561 - Panic on array parsing if length is externally defined

Issue - State: closed - Opened by jmaeso over 3 years ago - 1 comment
Labels: type: bug, help wanted

#514 - feat: SetArg support `chan` `reflect.Value`

Pull Request - State: closed - Opened by ahl5esoft over 3 years ago - 5 comments

#494 - Unable to generate mocks in reflect mode

Issue - State: closed - Opened by nezorflame almost 4 years ago - 13 comments
Labels: type: docs

#463 - "go get" does not work anymore: issue with dependency rsc.io/quote/v3

Issue - State: closed - Opened by olivierlemasle about 4 years ago - 3 comments
Labels: type: bug

#449 - Concurrent calls with different arguments lead to failing test

Issue - State: closed - Opened by JVecsei over 4 years ago - 1 comment

#417 - Add If method on Call for conditional EXPECT

Issue - State: closed - Opened by bogatuadrian over 4 years ago - 2 comments
Labels: type: feature request

#404 - fix callserrors with empty msg

Issue - State: closed - Opened by codyoss over 4 years ago
Labels: type: bug

#402 - EXPECT uses always first return value when used AnyTimes()

Issue - State: closed - Opened by micharaze over 4 years ago - 4 comments
Labels: type: question

#328 - Support statically typed arguments in recorder

Issue - State: closed - Opened by liamylian about 5 years ago - 6 comments
Labels: status: needs discussion, status: needs more info

#324 - Providing functional argument to mocked method

Issue - State: open - Opened by MattNolf about 5 years ago - 9 comments
Labels: type: feature request, status: backlog

#316 - Returning another mock from a mock

Issue - State: closed - Opened by hashcacher about 5 years ago - 5 comments

#308 - unable to install mockgen following the instructions in README

Issue - State: closed - Opened by dmitris over 5 years ago - 7 comments
Labels: type: bug

#294 - Panic on generating mock for interface with method returing array with const as size

Issue - State: closed - Opened by jkmar over 5 years ago
Labels: help wanted, good first issue, type: feature request

#291 - Empty Error message in Concurrent mode

Issue - State: closed - Opened by mjaow over 5 years ago - 5 comments
Labels: type: bug

#263 - ArgumentCaptor struct and tests

Pull Request - State: closed - Opened by tylersammann over 5 years ago - 22 comments

#231 - Test failure, missing call(s)...

Issue - State: closed - Opened by eddycjy almost 6 years ago - 8 comments

#194 - Tests do not fail when EXPECT() is called on a mock

Issue - State: closed - Opened by estutzenberger over 6 years ago - 5 comments

#191 - Define fallback for mock methods

Pull Request - State: open - Opened by ybbus over 6 years ago - 24 comments

#190 - Error output is ambiguous for equivalent values with different types

Issue - State: closed - Opened by bradwilzon over 6 years ago - 11 comments
Labels: type: feature request

#181 - aux_files shouldn't be necessary in mockgen

Issue - State: open - Opened by balshetzer over 6 years ago - 8 comments
Labels: type: feature request

#153 - Mockgen can't handle anonymous struct type

Issue - State: open - Opened by ChuntaoLu over 6 years ago - 4 comments
Labels: help wanted, type: feature request