Created
May 26, 2022 13:05
-
-
Save Nikoloutsos/d60eb7a56957c46736ca4f51c18a9837 to your computer and use it in GitHub Desktop.
Example foo yml for sourcery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# READ MORE ABOUT configuration here https://merowing.info/Sourcery/usage.html | |
configurations: | |
# -- Blueground configuration -- | |
- sources: | |
include: | |
- FooApp | |
templates: | |
- Sourcery | |
output: | |
path: BluegroundTests/Sourcery | |
link: | |
project: ./FooApp.xcodeproj | |
target: FooAppTests | |
group: FooAppTests/Sourcery | |
args: | |
testableImport: "FooApp" # [MANDATORY] Your mocks will have "@testable import <testableImport>" | |
containedPathSubstringToApplyTemplate: "/FooApp/" # [MANDATORY] If a protocol with Automockable annotation exists but it's path doesn't contain <focusFolder> it will be ignored. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment