]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - README.md
complete the tests
[perso/Immae/Projets/Nodejs/Surfer.git] / README.md
index b9402584f41d8255d5e12d700a0d3fc4fe1159cf..74488c34a28a54f3d6803bd55a82152e75a0634a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -42,3 +42,14 @@ Put some files:
 
     surfer put [file]
  
+## Testing
+
+The e2e tests are located in the `test/` folder and require [nodejs](http://nodejs.org/). They are creating a fresh build, install the app on your Cloudron, perform tests, backup, restore and test if the files are still ok.
+
+```
+cd surfer
+
+npm install
+USERNAME=<cloudron username> PASSWORD=<cloudron password> mocha --bail test/test.js
+```
+