-
Notifications
You must be signed in to change notification settings - Fork 3
/
.mockery.yaml
31 lines (31 loc) · 1.19 KB
/
.mockery.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
with-expecter: true
outpkg: mocks
packages:
github.com/cloud-club/Aviator-service/pkg:
# place your package-specific config here
config:
dir: "mocks/"
interfaces:
# select the interfaces you want mocked
ServerInterface:
# Modify package-level config for this specific interface (if applicable)
# Default
# filename: "mock_{{.InterfaceName}}.go"
# dir: "mocks/{{.PackagePath}}"
# mockname: "Mock{{.InterfaceName}}"
# outpkg: "{{.PackageName}}"
config:
github.com/cloud-club/Aviator-service/example:
# place your package-specific config here
config:
dir: "mocks/"
interfaces:
# select the interfaces you want mocked
ExampleServerInterface:
# Modify package-level config for this specific interface (if applicable)
# Default
# filename: "mock_{{.InterfaceName}}.go"
# dir: "mocks/{{.PackagePath}}"
# mockname: "Mock{{.InterfaceName}}"
# outpkg: "{{.PackageName}}"
config: