forked from awslabs/ssosync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.mockery.yml
More file actions
36 lines (36 loc) · 991 Bytes
/
Copy path.mockery.yml
File metadata and controls
36 lines (36 loc) · 991 Bytes
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
32
33
34
35
36
all: false
dir: "{{.InterfaceDir}}"
filename: "mocks_{{.InterfaceDir}}.go"
force-file-write: true
formatter: goimports
log-level: info
structname: "{{.Mock}}{{.InterfaceName}}"
pkgname: "mocks"
recursive: false
require-template-schema-exists: true
template: testify
template-schema: "{{.Template}}.schema.json"
packages:
ssosync/internal/interfaces:
config:
all: true
dir: "internal/mocks"
filename: "mocks_{{.InterfaceName}}.go"
ssosync/internal/http:
config:
all: true
dir: "internal/mocks"
filename: "mocks_Http{{.InterfaceName}}.go"
structname: "MockHttp{{.InterfaceName}}"
ssosync/internal/aws:
config:
all: true
dir: "internal/mocks"
filename: "mocks_Aws{{.InterfaceName}}.go"
structname: "MockAws{{.InterfaceName}}"
ssosync/internal/google:
config:
all: true
dir: "internal/mocks"
filename: "mocks_Google{{.InterfaceName}}.go"
structname: "MockGoogle{{.InterfaceName}}"