Skip to content

Commit 103a3dc

Browse files
committed
Merge pull request #2017 from alphagov/add-phantomjs-dependency-to-docs
Adds a note and link to installing PhantomJS to run smart-answer tests
2 parents eacdde3 + f188600 commit 103a3dc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/testing.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Testing
22

3+
## External dependencies
4+
5+
Some of the smart-answers tests require PhantomJS to be [installed on your machine
6+
natively](https://github.com/teampoltergeist/poltergeist/blob/master/README.md#installing-phantomjs).
7+
8+
Smart-answers also require the govuk-content-schemas repository which can
9+
be [cloned](https://github.com/alphagov/govuk-content-schemas) into a sibling
10+
directory, or a directory referenced using GOVUK_CONTENT_SCHEMAS_PATH.
11+
12+
## Executing tests
13+
314
Run all tests by executing the following:
415

516
bundle exec rake

0 commit comments

Comments
 (0)