summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-08-29 16:35:14 -0700
committerelijah <elijah@riseup.net>2016-09-01 10:13:31 -0700
commit07c0e60e6bdc5b8bfe1f42f76dae9f0a79e7abb0 (patch)
tree9f79f8fbb207896dcfe38f24831d9b2b857199a4 /tests
parentd5bac5850e4a895da5f9cfacb641fab15de1cf7b (diff)
moved infrastructure tests run by `leap run` to tests/server-tests
Diffstat (limited to 'tests')
-rw-r--r--tests/server-tests/README.md (renamed from tests/README.md)29
-rw-r--r--tests/server-tests/helpers/bonafide_helper.rb (renamed from tests/helpers/bonafide_helper.rb)0
-rw-r--r--tests/server-tests/helpers/client_side_db.py (renamed from tests/helpers/client_side_db.py)0
-rw-r--r--tests/server-tests/helpers/couchdb_helper.rb (renamed from tests/helpers/couchdb_helper.rb)0
-rw-r--r--tests/server-tests/helpers/files_helper.rb (renamed from tests/helpers/files_helper.rb)0
-rw-r--r--tests/server-tests/helpers/http_helper.rb (renamed from tests/helpers/http_helper.rb)0
-rw-r--r--tests/server-tests/helpers/network_helper.rb (renamed from tests/helpers/network_helper.rb)0
-rw-r--r--tests/server-tests/helpers/os_helper.rb (renamed from tests/helpers/os_helper.rb)0
-rw-r--r--tests/server-tests/helpers/smtp_helper.rb (renamed from tests/helpers/smtp_helper.rb)0
-rwxr-xr-xtests/server-tests/helpers/soledad_sync.py (renamed from tests/helpers/soledad_sync.py)0
-rw-r--r--tests/server-tests/helpers/srp_helper.rb (renamed from tests/helpers/srp_helper.rb)0
-rw-r--r--tests/server-tests/order.rb (renamed from tests/order.rb)0
-rw-r--r--tests/server-tests/white-box/couchdb.rb (renamed from tests/white-box/couchdb.rb)0
-rw-r--r--tests/server-tests/white-box/dummy.rb (renamed from tests/white-box/dummy.rb)0
-rw-r--r--tests/server-tests/white-box/mx.rb (renamed from tests/white-box/mx.rb)0
-rw-r--r--tests/server-tests/white-box/network.rb (renamed from tests/white-box/network.rb)0
-rw-r--r--tests/server-tests/white-box/openvpn.rb (renamed from tests/white-box/openvpn.rb)0
-rw-r--r--tests/server-tests/white-box/soledad.rb (renamed from tests/white-box/soledad.rb)0
-rw-r--r--tests/server-tests/white-box/webapp.rb (renamed from tests/white-box/webapp.rb)0
19 files changed, 24 insertions, 5 deletions
diff --git a/tests/README.md b/tests/server-tests/README.md
index 814c25b1..29db2e06 100644
--- a/tests/README.md
+++ b/tests/server-tests/README.md
@@ -1,12 +1,31 @@
-Tests
+Tests for Server
---------------------------------
-tests/white-box/
+The tests in this directory are run against the servers of a live running
+provider.
+
+Usage
+---------------------------------
+
+To run the tests from a local workstation:
+
+ workstation$ cd <my provider directory>
+ workstation$ leap test
+
+To run the tests from the server itself:
+
+ workstation$ leap ssh servername
+ servername# run_tests
+
+Notes
+---------------------------------
+
+server-tests/white-box/
These tests are run on the server as superuser. They are for
troubleshooting any problems with the internal setup of the server.
-tests/black-box/
+server-tests/black-box/
These test are run the user's local machine. They are for troubleshooting
any external problems with the service exposed by the server.
@@ -14,11 +33,11 @@ tests/black-box/
Additional Files
---------------------------------
-tests/helpers/
+server-tests/helpers/
Utility functions made available to all tests.
-tests/order.rb
+server-tests/order.rb
Configuration file to specify which nodes should be tested in which order.
diff --git a/tests/helpers/bonafide_helper.rb b/tests/server-tests/helpers/bonafide_helper.rb
index 5b886228..5b886228 100644
--- a/tests/helpers/bonafide_helper.rb
+++ b/tests/server-tests/helpers/bonafide_helper.rb
diff --git a/tests/helpers/client_side_db.py b/tests/server-tests/helpers/client_side_db.py
index 2f8c220f..2f8c220f 100644
--- a/tests/helpers/client_side_db.py
+++ b/tests/server-tests/helpers/client_side_db.py
diff --git a/tests/helpers/couchdb_helper.rb b/tests/server-tests/helpers/couchdb_helper.rb
index efb2c2bf..efb2c2bf 100644
--- a/tests/helpers/couchdb_helper.rb
+++ b/tests/server-tests/helpers/couchdb_helper.rb
diff --git a/tests/helpers/files_helper.rb b/tests/server-tests/helpers/files_helper.rb
index d6795889..d6795889 100644
--- a/tests/helpers/files_helper.rb
+++ b/tests/server-tests/helpers/files_helper.rb
diff --git a/tests/helpers/http_helper.rb b/tests/server-tests/helpers/http_helper.rb
index 0d0bb7d5..0d0bb7d5 100644
--- a/tests/helpers/http_helper.rb
+++ b/tests/server-tests/helpers/http_helper.rb
diff --git a/tests/helpers/network_helper.rb b/tests/server-tests/helpers/network_helper.rb
index 713d57aa..713d57aa 100644
--- a/tests/helpers/network_helper.rb
+++ b/tests/server-tests/helpers/network_helper.rb
diff --git a/tests/helpers/os_helper.rb b/tests/server-tests/helpers/os_helper.rb
index 9923d5b1..9923d5b1 100644
--- a/tests/helpers/os_helper.rb
+++ b/tests/server-tests/helpers/os_helper.rb
diff --git a/tests/helpers/smtp_helper.rb b/tests/server-tests/helpers/smtp_helper.rb
index ea7fb9fa..ea7fb9fa 100644
--- a/tests/helpers/smtp_helper.rb
+++ b/tests/server-tests/helpers/smtp_helper.rb
diff --git a/tests/helpers/soledad_sync.py b/tests/server-tests/helpers/soledad_sync.py
index f4fc81ae..f4fc81ae 100755
--- a/tests/helpers/soledad_sync.py
+++ b/tests/server-tests/helpers/soledad_sync.py
diff --git a/tests/helpers/srp_helper.rb b/tests/server-tests/helpers/srp_helper.rb
index b30fa768..b30fa768 100644
--- a/tests/helpers/srp_helper.rb
+++ b/tests/server-tests/helpers/srp_helper.rb
diff --git a/tests/order.rb b/tests/server-tests/order.rb
index 14aad9be..14aad9be 100644
--- a/tests/order.rb
+++ b/tests/server-tests/order.rb
diff --git a/tests/white-box/couchdb.rb b/tests/server-tests/white-box/couchdb.rb
index 44a2769b..44a2769b 100644
--- a/tests/white-box/couchdb.rb
+++ b/tests/server-tests/white-box/couchdb.rb
diff --git a/tests/white-box/dummy.rb b/tests/server-tests/white-box/dummy.rb
index a3e8ad68..a3e8ad68 100644
--- a/tests/white-box/dummy.rb
+++ b/tests/server-tests/white-box/dummy.rb
diff --git a/tests/white-box/mx.rb b/tests/server-tests/white-box/mx.rb
index 0eeaacd0..0eeaacd0 100644
--- a/tests/white-box/mx.rb
+++ b/tests/server-tests/white-box/mx.rb
diff --git a/tests/white-box/network.rb b/tests/server-tests/white-box/network.rb
index a08cdfbe..a08cdfbe 100644
--- a/tests/white-box/network.rb
+++ b/tests/server-tests/white-box/network.rb
diff --git a/tests/white-box/openvpn.rb b/tests/server-tests/white-box/openvpn.rb
index 170d4503..170d4503 100644
--- a/tests/white-box/openvpn.rb
+++ b/tests/server-tests/white-box/openvpn.rb
diff --git a/tests/white-box/soledad.rb b/tests/server-tests/white-box/soledad.rb
index d41bee58..d41bee58 100644
--- a/tests/white-box/soledad.rb
+++ b/tests/server-tests/white-box/soledad.rb
diff --git a/tests/white-box/webapp.rb b/tests/server-tests/white-box/webapp.rb
index 40c234d6..40c234d6 100644
--- a/tests/white-box/webapp.rb
+++ b/tests/server-tests/white-box/webapp.rb