summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/readme.md
diff options
context:
space:
mode:
authorFelix Böhm <felixboehm@gmx.de>2014-08-29 12:16:00 +0200
committerFelix Böhm <felixboehm@gmx.de>2014-08-29 12:26:30 +0200
commit50ae19cc5cbd6e1f8875100a7a7c9701da98865c (patch)
treec4d446538d6f1d0dcea21e0f06084583cf9972e3 /tests/acceptance/readme.md
parent6fa609325ccbe95c6d4c4b5ece3ea0bfe91cb552 (diff)
downloadnextcloud-server-50ae19cc5cbd6e1f8875100a7a7c9701da98865c.tar.gz
nextcloud-server-50ae19cc5cbd6e1f8875100a7a7c9701da98865c.zip
add bunch of acceptance tests
Diffstat (limited to 'tests/acceptance/readme.md')
-rw-r--r--tests/acceptance/readme.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/acceptance/readme.md b/tests/acceptance/readme.md
new file mode 100644
index 00000000000..9819715cff7
--- /dev/null
+++ b/tests/acceptance/readme.md
@@ -0,0 +1,35 @@
+ownCloud Acceptance Tests
+=========================
+
+
+Setup
+-----
+
+Install node.js and run the following to install the dependencies
+
+```
+npm install
+./node_modules/protractor/bin/webdriver-manager update
+```
+
+Install as global commands
+```
+npm install -g protractor
+```
+
+Run
+---
+
+Run the tests with protractor
+
+```
+protractor protractor.conf.js
+```
+
+Run only a specific test suite or spec
+
+```
+protractor protractor.conf.js --suite install
+protractor protractor_conf.js --params.baseUrl="http://127.0.0.1/ownClouds/test-community-7.0.1/" --suite=login
+protractor protractor_conf.js --params.baseUrl="http://127.0.0.1/ownClouds/test-community-7.0.1/" --specs tests/login/newUser_spec.js
+```