Adds documentation for instaling PhantomJS for acceptance tests

Will Read преди 9 години
родител
ревизия
ad71d73051
променени са 1 файла, в които са добавени 8 реда и са изтрити 1 реда
  1. 8 1
      README.md

+ 8 - 1
README.md

@@ -82,7 +82,14 @@ If you need more detailed instructions, see the [Novice setup guide][novice-setu
82 82
 
83 83
 ### Develop
84 84
 
85
-All agents have specs! Test all specs with `bundle exec rspec`, or test a specific spec with `bundle exec rspec path/to/specific/spec.rb`. Read more about rspec for rails [here](https://github.com/rspec/rspec-rails).
85
+All agents have specs! And there's also acceptance tests that simulate running Huginn in a headless browser. 
86
+
87
+* Install PhantomJS 2.1.1 or greater: 
88
+  * Using [Node Package Manager](https://www.npmjs.com/): `npm install phantomjs` 
89
+  * Using [Homebrew](http://brew.sh/) on OSX `brew install phantomjs`
90
+* Run all specs with `bundle exec rspec`
91
+* Run a specific spec with `bundle exec rspec path/to/specific/test_spec.rb`. 
92
+* Read more about rspec for rails [here](https://github.com/rspec/rspec-rails).
86 93
 
87 94
 ## Deployment
88 95