Added testing and auto-testing with selenium

This commit is contained in:
Caleb James DeLisle
2016-04-20 18:58:02 +02:00
parent b16e53505f
commit 2a0b3a007d
4 changed files with 41 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ To install:
npm install -g bower ## if necessary
bower install
## copy config.js.dist to config.js
## copy config.js.dist to config.js
cp config.js.dist config.js
## modify configuration to use your own mongodb instance
@@ -67,6 +67,13 @@ rm -rf ./cryptpad.db
If you are using the mongodb adaptor, [drop the relevant collection](https://docs.mongodb.org/manual/reference/method/db.collection.drop/#db.collection.drop).
## Testing
To test CryptPad, go to http://your.server:3000/assert/
You can use WebDriver to run this test automatically by running TestSelenium.js but you will need chromedriver installed.
If you use Mac, you can `brew install chromedriver`.
## Security
CryptPad is *private*, not *anonymous*. Privacy protects your data, anonymity protects you.