mockolo
mockolo copied to clipboard
Efficient Mock Generator for Swift
#146 @EspressoCup Sorry for disturbing you again.
Is there any chance to support RXSwift trait types Single, Completable, and Maybe? I believe they would be handled in mostly the same way as the existing observables. https://github.com/ReactiveX/RxSwift/blob/main/Documentation/Traits.md#rxswift-traits
[CI / Bitrise] Unable to generate mocks in CI [add better logging in mockolo for failure debugging!]
Hi! I was trying out mockolo in my project and installed the latest version 1.6.2 from brew (brew install mockolo) Using the following command in commandline results in below error...
A protocol inheriting from a protocol with associated type will also inherit any configured typealias types for its generated mock, e.g.: ``` /// @mockable(typealias: ContextType = Int; ObjectType = String)...
Input params `-s --sourcedirs` support scan all files in a folder/directory but the output will be merged into one file. Could you support to generate into multiple files, map 1-1...
Build fails. Is there a solution? # Env Xcode14 RC swift 5.7 mockolo 1.7.1 mint 0.17.1 Apple Silicon Mac (M2 Mackbook Air) # Log ``` PhaseScriptExecution Run\ Mockolo /Users/xxxx/Build/Intermediates.noindex/xxx.build/Debug-iphonesimulator/xxx.build/Script-B88413E211DDD8C90597695F.sh (in...
ref: https://github.com/apple/swift-syntax/releases/tag/0.50700.0
Update README to use brew command that avoids the error in [issue 182](https://github.com/uber/mockolo/issues/182).
If protocol#1 inherits protocol#2 imported from different module, then protocol#2 requirements are not met: ```swift /// @mockable protocol Foo: Equatable { func foo() } ``` ```swift class FooMock: Foo {...
when a protocol is marked with a `@available(*, deprecated...` on a function, mockolo specifies the entire type as `@available(*, deprecated, ...` instead of just the function is that expected behavior...