Skip to content

Commit d4d68ca

Browse files
committed
Update Readme describing how to run headless tests locally.
1 parent 0226cb2 commit d4d68ca

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,14 @@ prior to submitting your changes. Thanks.
136136

137137
## Headless tests with casperjs
138138

139-
You can also run the above tests headlessly through casperjs:
139+
You can also run the above tests headlessly through casperjs.
140140

141141
```bash
142+
# Install casperjs via npm in the GeoExt 2 clone dir (only first time)
143+
npm install [email protected]
144+
142145
# Run the suite in the root of the repository
143-
./tests/headless/casperjs-1.1-beta.1/bin/casperjs \
144-
test \
145-
tests/headless/run-testsuite.js
146+
./node_modules/casperjs/bin/casperjs test tests/headless/run-testsuite.js
146147
```
147148

148149
These tests are also run though [travis](https://travis-ci.org/geoext/geoext2).

0 commit comments

Comments
 (0)