Commit 0784d190 authored by Robert Schmidt's avatar Robert Schmidt

ci-scripts/tests/README.md: how to run all tests

parent 9f5d8221
...@@ -3,8 +3,12 @@ scripts. ...@@ -3,8 +3,12 @@ scripts.
# Unit test # Unit test
There are some unit tests. From the parent directory, i.e., `ci-scripts/`, This repository contains unit tests. To run them, switch to the parent
start with directory, i.e., `ci-scripts/`, and run
python3 -m unittest tests/*.py
To run individual unit tests, start them like so:
python tests/build.py -v python tests/build.py -v
python tests/cmd.py -v python tests/cmd.py -v
...@@ -12,8 +16,8 @@ start with ...@@ -12,8 +16,8 @@ start with
python tests/iperf-analysis.py -v python tests/iperf-analysis.py -v
python tests/ping-iperf.py -v python tests/ping-iperf.py -v
It will indicate if all tests passed. `tests/deployment.py` requires these The logs will indicate if all tests passed. `tests/deployment.py` requires
images to be present: these images to be present:
- `oai-ci/oai-nr-ue:develop-12345678` - `oai-ci/oai-nr-ue:develop-12345678`
- `oai-ci/oai-gnb:develop-12345678` - `oai-ci/oai-gnb:develop-12345678`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment