Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Generate mocks with ALLOW and EXPECT #1

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Conversation

sullerandras
Copy link

So the test can be written similar to RSpec

So the test can be written similar to RSpec
This would allow us to use other testing frameworks like goblin
Instead of asserting parameter equality by cmp.Equal, this allows more flexibility to only check certain parameters (or certain parts of the parameter in case it is a struct)
In the hope that we can run this command to install the binary:
```
GO111MODULE=on go get -v -u github.com/bitgaming/mock/mockgen@mockgen-rspec
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant