summaryrefslogtreecommitdiffstats
path: root/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
blob: 2376d433c04bd4009aadb5840f621f86057086d4 (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
<!-- 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 -->
# XDS Server Test

## XDS Server test architecture

The test part is written in go and source code is available in test directory.

```bash
|
+-- test/                # where xds-server test source files
|
+-- test/main_test.go    # main entry point of xds-server test
|
+-- test/fixtures        # fixtures for running test
```

The test execution will locally launch xds-server and access the api through REST and test results, events, ...

## Dependencies

* sshd

Make sure sshd is in your user PATH.

## Launch test

Use the following command to launch test in xds-server root directory:

```bash
make test
```

Launch only one test, for example launch TestSdks:

```bash
make test name=TestSdks
```

Increase test verbosity:

```bash
make test VERBOSE=1
```