Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.15 KB

Prototyping.md

File metadata and controls

41 lines (25 loc) · 1.15 KB

Prototyping

It is possible to use SwiftyMocky not in tests, but to fake/prototype inside application (works on device).

For this reason, there is an additional library extracted from Swiftymocky, that does not rely on XCTest framework.

Installation and generation is exactly same as with SwiftyMocky. Install CLI and inegrate runtime, via one of the options below, and mark target in Mockfile with prototype: true

Installation

To install it, simply add the following line to your Podfile:

pod "SwiftyPrototype"

Then execute pod install

To install, add following to you Cartfile:

github "MakeAWishFoundation/SwiftyMocky"

Then execute carthage update and add SwiftyPrototype to your target.

Add SwiftyPrototype to you Package.swift dependencies:

dependencies: [
    .package(url: "https://github.com/MakeAWishFoundation/SwiftyMocky", from: "4.0.1"),
]

And add SwiftyPrototype to your target dependencies.