summaryrefslogtreecommitdiffhomepage
path: root/test/README.md
blob: 09c36b4613d4c76a5c683af1b255a1409f1c730e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Tests

The tests defined under this path are verifying functionality beyond what unit
tests can cover, e.g. integration and end to end tests. Due to their nature,
they may need extra setup in the test machine and extra configuration to run.

-   **syscalls**: system call tests use a local runner, and do not require
    additional configuration in the machine.
-   **integration:** defines integration tests that uses `docker run` to test
    functionality.
-   **image:** basic end to end test for popular images. These require the same
    setup as integration tests.
-   **root:** tests that require to be run as root.
-   **util:** utilities library to support the tests.

For the above noted cases, the relevant runtime must be installed via `runsc
install` before running. This is handled automatically by the test scripts in
the `kokoro` directory.