You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The main features of minimock are:
16
16
* It supports generics.
17
17
* It works well with [table driven tests](https://dave.cheney.net/2013/06/09/writing-table-driven-tests-in-go) because you can set up mocks for several methods in one line of code using the builder pattern.
18
18
* It can generate several mocks in one run.
19
-
* It generates code that passes [gometalinter](https://github.com/alecthomas/gometalinter) checks.
19
+
* It generates code that passes default set of [golangci-lint](https://github.com/golangci/golangci-lint) checks.
20
20
* It puts //go:generate instruction into the generated code, so all you need to do when the source interface is updated is to run the `go generate ./...` command from within the project's directory.
21
21
* It makes sure that all mocked methods have been called during the test and keeps your test code clean and up to date.
22
22
* It provides When and Then helpers to set up several expectations and results for any method.
@@ -179,6 +179,16 @@ mc := minimock.NewController(t)
0 commit comments