Update README.md
This commit is contained in:
parent
89ac8bfa67
commit
76950dab03
1 changed files with 22 additions and 17 deletions
19
README.md
19
README.md
|
|
@ -166,14 +166,20 @@ To set a compiler flag in Xcode, go to your active target and select the "Build
|
||||||
|
|
||||||
AFNetworking includes a suite of unit tests within the Tests subdirectory. In order to run the unit tests, you must install the testing dependencies via CocoaPods. To do so:
|
AFNetworking includes a suite of unit tests within the Tests subdirectory. In order to run the unit tests, you must install the testing dependencies via CocoaPods. To do so:
|
||||||
|
|
||||||
1. `gem install cocoapods` # If necessary
|
$ gem install cocoapods # If necessary
|
||||||
1. `cd Tests`
|
$ cd Tests
|
||||||
1. `pod install`
|
$ pod install
|
||||||
|
|
||||||
Once CocoaPods has finished the installation, you can execute the test suite via the 'iOS Tests' and 'OS X Tests' schemes within Xcode. If you wish to execute the tests from the command line or within a continuous integration environment, you will need to install [xctool](https://github.com/facebook/xctool). The recommended installation method is [Homebrew](http://mxcl.github.io/homebrew/). To install the commandline testing support via Homebrew:
|
Once CocoaPods has finished the installation, you can execute the test suite via the 'iOS Tests' and 'OS X Tests' schemes within Xcode.
|
||||||
|
|
||||||
1. `brew update`
|
### Using xctool
|
||||||
1. `brew install xctool --HEAD`
|
|
||||||
|
If you wish to execute the tests from the command line or within a continuous integration environment, you will need to install [xctool](https://github.com/facebook/xctool). The recommended installation method is [Homebrew](http://mxcl.github.io/homebrew/).
|
||||||
|
|
||||||
|
To install the commandline testing support via Homebrew:
|
||||||
|
|
||||||
|
$ brew update
|
||||||
|
$ brew install xctool --HEAD
|
||||||
|
|
||||||
Once xctool is installed, you can execute the suite via `rake test`.
|
Once xctool is installed, you can execute the suite via `rake test`.
|
||||||
|
|
||||||
|
|
@ -200,4 +206,3 @@ Follow AFNetworking on Twitter ([@AFNetworking](https://twitter.com/AFNetworking
|
||||||
## License
|
## License
|
||||||
|
|
||||||
AFNetworking is available under the MIT license. See the LICENSE file for more info.
|
AFNetworking is available under the MIT license. See the LICENSE file for more info.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue