MockSwift
MockSwift copied to clipboard
Auto-generated mocks requires additional module imports
- [x] I have read the CONTRIBUTING.
🐞 Describe the bug
The generated mocks require importing modules in addition to my project module. However, the MockSwift.stencil template only imports from Foundation, MockSwift and argument.module.
📝 To Reproduce
Generate mocks via Sourcery with types that originate in a module other than the project's root module.
🔍 Expected behavior
I would like to be able to add a list of arguments for additional modules to import in the template.
⚙️ Environment
MockSwift version: v1.1.0
OS:
- [x] macOS
Sequoia 15.2 - [ ] Linux
x.x.x
Swift version: 6.1
Xcode version: private version