Generator of Mocks for Cuckoo.
protocol
mocking- Instance methods
- Instance properties
class
mocking- Instance methods
- Instance properties
- Copy file header (everything before first protocol/class/struct = imports, comments etc.)
throws
andrethrows
- Add specified
@testable import
statements to the generated files. - Selecting which files to mock
- static variables
- Static methods
- Generics
- global functions
struct
mocking- workaround is to use a common protocol
final class
mockingprivate
variables and methods- global constants
To
First you need to run:
carthage update
after the dependencies are downloaded and compiled, you just need to do:
chmod +x main.swift
./main.swift