Comments (3)
I agree, I'll look into adding one.
from go-mock.
I've just discovered this project after writing my own mocking framework with a generator, I took inspiration from github.com/google/wire as I find the the generators for mockery and gomock are cumbersome and inflexible.
Would you be interested in this style of generator, see the README? The advantage is it effectively allows the author to add the methods to an existing struct.
from go-mock.
Hi @au-phiware, sure, I'm interested. But before you spend some time, I want to inform you that this project is inactive.
I know some people are using it. My only commit since 2018 was adding a go.mod
because they asked for one. In any case, people using this would love a generator.
I'm now using https://github.com/golang/mock or its fork, https://github.com/uber-go/mock.
from go-mock.
Related Issues (8)
- When using MockFunction.Call, only the first set of return values is returned HOT 1
- what if the function return a struct, how can i mock it? HOT 1
- Please add Go module HOT 3
- Mock not working HOT 1
- Question [Not a issue] HOT 4
- Support variable number of arguments HOT 6
- how to walk over the limits: need use obj as a param to control if it's a mock obj HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-mock.