Mockia: Easy Handling Mock's Expectations in Swift
- Set Factual Actions Inside Mocks
- Ignore Factual Actions
- Verify Expected Actions
Platform | Minimum Swift Version | Installation | Status |
---|---|---|---|
iOS 9.0+ | 5.3 | SPM | Tested |
macOS 10.10+ | 5.3 | SPM | NotTested |
watchOs 5.0+ | 5.3 | SPM | NotTested |
tvOS 9.0+ | 5.3 | SPM | NotTested |
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.
Once you have your Swift package set up, adding Mockia
as a dependency is as easy as adding it to the dependencies value of your Package.swift.
dependencies: [
.package(url: "https://github.com/kiarashvosough1999/Mockia.git", .upToNextMajor(from: "0.0.1"))
]
For step to Step guide please read this Article
Feel free to share your ideas or any other problems. Pull requests are welcomed.
Mockia
is released under an MIT license. See LICENSE for more information.