2376d433c04bd4009aadb5840f621f86057086d4
[AGL/documentation.git] / docs / ATTIC / 3_Developer_Guides / 4_X(cross)_Development_System:_User's_Guide / 4_X(cross)_Development_System:_ Internals / 3.4.4.2_xds-server / 3.4.4.2.5_Test.md
1 <!-- WARNING: This file is generated by fetch_docs.js using /home/boron/Documents/AGL/docs-webtemplate/site/_data/tocs/devguides/master/xds-docs-guides-devguides-book.yml -->
2 # XDS Server Test
3
4 ## XDS Server test architecture
5
6 The test part is written in go and source code is available in test directory.
7
8 ```bash
9 |
10 +-- test/                # where xds-server test source files
11 |
12 +-- test/main_test.go    # main entry point of xds-server test
13 |
14 +-- test/fixtures        # fixtures for running test
15 ```
16
17 The test execution will locally launch xds-server and access the api through REST and test results, events, ...
18
19 ## Dependencies
20
21 * sshd
22
23 Make sure sshd is in your user PATH.
24
25 ## Launch test
26
27 Use the following command to launch test in xds-server root directory:
28
29 ```bash
30 make test
31 ```
32
33 Launch only one test, for example launch TestSdks:
34
35 ```bash
36 make test name=TestSdks
37 ```
38
39 Increase test verbosity:
40
41 ```bash
42 make test VERBOSE=1
43 ```