diff options
author | Girish Ramakrishnan <girish@forwardbias.in> | 2015-11-27 15:11:30 -0800 |
---|---|---|
committer | Girish Ramakrishnan <girish@forwardbias.in> | 2015-11-27 15:21:07 -0800 |
commit | ebd7ed7a5a93ea8b55addef0175fc777f400b954 (patch) | |
tree | 9ba0123d758d05b0b2bf812b3f325e2e1b04a292 /README.md | |
parent | 20826700209d32826a8227b587f074c1826fc0f9 (diff) | |
download | Surfer-ebd7ed7a5a93ea8b55addef0175fc777f400b954.tar.gz Surfer-ebd7ed7a5a93ea8b55addef0175fc777f400b954.tar.zst Surfer-ebd7ed7a5a93ea8b55addef0175fc777f400b954.zip |
Add cloudron tests
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -42,3 +42,14 @@ Put some files: | |||
42 | 42 | ||
43 | surfer put [file] | 43 | surfer put [file] |
44 | 44 | ||
45 | ## Testing | ||
46 | |||
47 | 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. | ||
48 | |||
49 | ``` | ||
50 | cd surfer/test | ||
51 | |||
52 | npm install | ||
53 | USERNAME=<cloudron username> PASSWORD=<cloudron password> mocha --bail test.js | ||
54 | ``` | ||
55 | |||