From 0784d1907fee70c79311df888d78d3498203a5e5 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Sat, 9 Nov 2024 12:46:09 +0100 Subject: [PATCH] ci-scripts/tests/README.md: how to run all tests --- ci-scripts/tests/README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ci-scripts/tests/README.md b/ci-scripts/tests/README.md index 9a19bacb67..364cf031d3 100644 --- a/ci-scripts/tests/README.md +++ b/ci-scripts/tests/README.md @@ -3,8 +3,12 @@ scripts. # Unit test -There are some unit tests. From the parent directory, i.e., `ci-scripts/`, -start with +This repository contains unit tests. To run them, switch to the parent +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/cmd.py -v @@ -12,8 +16,8 @@ start with python tests/iperf-analysis.py -v python tests/ping-iperf.py -v -It will indicate if all tests passed. `tests/deployment.py` requires these -images to be present: +The logs will indicate if all tests passed. `tests/deployment.py` requires +these images to be present: - `oai-ci/oai-nr-ue:develop-12345678` - `oai-ci/oai-gnb:develop-12345678`