Update `README.md`.

This commit is contained in:
Matyáš Kříž 2019-11-06 14:11:05 +01:00
parent ed1e947e1f
commit 6a2f9596fb
1 changed files with 7 additions and 6 deletions

View File

@ -11,7 +11,7 @@
## Introduction ## Introduction
Cuckoo was created due to lack of a proper Swift mocking framework. We built the DSL to be very similar to [Mockito](http://mockito.org/), so anyone using it in Java/Android can immediately pick it up and use it. Cuckoo was created due to lack of a proper Swift mocking framework. We built the DSL to be very similar to [Mockito](http://mockito.org/), so anyone using it in Java/Android can immediately pick it up and use it.
To have a chat, [join our Slack team](http://swiftkit.brightify.org)! To have a chat, [join our Slack workspace](http://swiftkit.brightify.org)!
## How does it work ## How does it work
Cuckoo has two parts. One is the [runtime](https://github.com/Brightify/Cuckoo) and the other one is an OS X command-line tool simply called [CuckooGenerator](https://github.com/SwiftKit/CuckooGenerator). Cuckoo has two parts. One is the [runtime](https://github.com/Brightify/Cuckoo) and the other one is an OS X command-line tool simply called [CuckooGenerator](https://github.com/SwiftKit/CuckooGenerator).
@ -45,13 +45,14 @@ Cuckoo works on the following platforms:
- **Mac OSX 10.9+** - **Mac OSX 10.9+**
- **tvOS 9+** - **tvOS 9+**
We plan to add a **watchOS 2+** support soon. We plan to add **watchOS 2+** support soon.
Note: Version `1.2.0` is the last one supporting **Swift 4.2**. Versions `1.3.0`+ support **Swift 5**.
## Cuckoo ## Cuckoo
### 1. Installation ### 1. Installation
#### CocoaPods #### CocoaPods
Cuckoo runtime is available through [CocoaPods](http://cocoapods.org). To install Cuckoo runtime is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your test target in your Podfile:
it, simply add the following line to your test target in your Podfile:
```Ruby ```Ruby
pod "Cuckoo" pod "Cuckoo"
@ -83,8 +84,8 @@ echo "Mocks Input Directory = ${INPUT_DIR}"
Input files can be also specified directly in `Run script` in `Input Files` form. Input files can be also specified directly in `Run script` in `Input Files` form.
Notes: All paths in the Run script must be absolute. Variable `PROJECT_DIR` automatically points to your project directory. Note: All paths in the Run script must be absolute. Variable `PROJECT_DIR` automatically points to your project directory.
Keep in mind to include paths to inherited Classes and Protocols for mocking/stubbing parent and grandparents. **Remember to include paths to inherited Classes and Protocols for mocking/stubbing parent and grandparents.**
#### Carthage #### Carthage
To use Cuckoo with [Carthage](https://github.com/Carthage/Carthage) add in your Cartfile this line: To use Cuckoo with [Carthage](https://github.com/Carthage/Carthage) add in your Cartfile this line: