summaryrefslogtreecommitdiff
path: root/tests/server-tests/README.md
blob: 29db2e06e2ec43667e7c4bb9373d58ca365857f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Tests for Server
---------------------------------

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.

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.

Additional Files
---------------------------------

server-tests/helpers/

    Utility functions made available to all tests.

server-tests/order.rb

    Configuration file to specify which nodes should be tested in which order.