Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel committed Jan 30, 2014
1 parent b0a7076 commit 6a39800
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions README.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $ ghunit install -n ProjectName


### Add the Tests target to your Podfile ### Add the Tests target to your Podfile


1. Create a new file named `Podfile` in the directory that contains the your `.xcodeproj` file, or edit it if it already exists. Create a new file named `Podfile` in the directory that contains the your `.xcodeproj` file, or edit it if it already exists.


```ruby ```ruby
# Podfile # Podfile
Expand All @@ -47,14 +47,14 @@ target :Tests do
end end
``` ```


2. Install your project's pods. CocoaPods will then download and configure the required libraries for your project: Install your project's pods. CocoaPods will then download and configure the required libraries for your project:
```xml ```xml
$ pod install $ pod install
``` ```


3. You should use the `.xcworkspace` file to work on your project: You should use the `.xcworkspace` file to work on your project:
```xml ```xml
$ open myproject.xcworkspace $ open ProjectName.xcworkspace
``` ```


### Install Command Line ### Install Command Line
Expand All @@ -75,6 +75,15 @@ Now you can run tests from the command line:
$ ghunit run -n ProjectName $ ghunit run -n ProjectName
``` ```


### Add a test

To generate a test in your test target with name SampleTest:

```xml
$ ghunit add -n ProjectName -f SampleTest
```


## Install (From Source) ## Install (From Source)


### iOS ### iOS
Expand Down

0 comments on commit 6a39800

Please sign in to comment.