Skip to content

Commit 04cc8f1

Browse files
authored
doc: add note about naming of filename
1 parent 4dd98ab commit 04cc8f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ It requires testify >= v1.7.0
4848

4949
Mocktail can only generate mock of interfaces inside a module itself (not from stdlib or dependencies)
5050

51+
The `// mocktail` comments **must** be added to ae file named `mock_test.go` only,
52+
comments in other files will not be detected
53+
5154
## Examples
5255

5356
```go

0 commit comments

Comments
 (0)