-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkelpie.yaml
35 lines (35 loc) · 1.24 KB
/
kelpie.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
32
33
34
35
version: 1
packages:
- package: io
directory: examples/mocks
mocks:
- interface: Reader
- package: github.com/adamconnelly/kelpie/examples
mocks:
- interface: Maths
- interface: Sender
- interface: RegistrationService
- interface: Requester
- interface: ConfigService.Encrypter
- interface: ConfigService.Storage
- interface: DoubleNested.Internal.DoubleNestedService
- interface: AccountService
- interface: AlarmService
- interface: Printer
- package: github.com/adamconnelly/kelpie/examples/secretsmanager
# By default the mock is generated in a directory called `mock` in the package
# being mocked, but this can be adjusted.
directory: examples/mocks
mocks:
- interface: SecretsManager
- package: github.com/adamconnelly/kelpie/examples/users
mocks:
- interface: UserRepository
# Generation allows options related to code-generation to be adjusted.
generation:
# Package sets the package name generated for the mock. By default the package name
# is the lower-cased interface name.
package: userrepo
- package: github.com/adamconnelly/kelpie/parser
mocks:
- interface: InterfaceFilter