aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorIan Coleman <ian@iancoleman.io>2017-11-08 12:11:49 +1100
committerIan Coleman <ian@iancoleman.io>2017-11-16 14:37:17 +1100
commit0460b53f3aff1745fd2727c094d12f90cfbe1d10 (patch)
tree945f125a0fad502b9954edee704f8d2b866d50b4 /readme.md
parente8ee368f189137fdadcca3d8dffe743c8bb20172 (diff)
downloadBIP39-0460b53f3aff1745fd2727c094d12f90cfbe1d10.tar.gz
BIP39-0460b53f3aff1745fd2727c094d12f90cfbe1d10.tar.zst
BIP39-0460b53f3aff1745fd2727c094d12f90cfbe1d10.zip
Use selenium for tests instead of phantomjs
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md17
1 files changed, 15 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index fb1467b..b22d4e3 100644
--- a/readme.md
+++ b/readme.md
@@ -62,12 +62,25 @@ please do not commit changes to `bip39-standalone.html`
62 62
63# Tests 63# Tests
64 64
65Tests depend on [phantomjs](http://phantomjs.org/). 65Tests depend on
66
67* nodejs
68* selenium webdriver - cd /path/to/bip39/tests; npm install
69* selenium driver for firefox ([geckodriver](https://github.com/mozilla/geckodriver/releases)) and / or chrome ([chromedriver](https://sites.google.com/a/chromium.org/chromedriver/downloads))
70* jasmine - npm install --global jasmine
71
72Before running tests, the site must be served at http://localhost:8000.
73
74```
75$ cd /path/to/bip39/src
76$ python -m http.server
77```
66 78
67Run tests from the command-line 79Run tests from the command-line
68 80
69``` 81```
70$ phantomjs tests.js 82$ cd /path/to/bip39/tests
83$ jasmine spec/tests.js
71``` 84```
72 85
73# License 86# License