aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
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