aboutsummaryrefslogtreecommitdiffstats
path: root/csit
diff options
context:
space:
mode:
authorHanif Kukkalli <lte-ng@outlook.com>2021-03-04 11:52:53 +0100
committerToine Siebelink <toine.siebelink@est.tech>2021-03-04 15:57:53 +0000
commit1f056ae738f6e0984803630e0380d80efebf8dc3 (patch)
tree3881103816e1393a3c84198de13a5b79d1446c3c /csit
parent4359d28773708cf63410539fae5f5eae4105d4f0 (diff)
Test CSIT Integration Tests
Updated README.md file Issue-ID: CPS-272 Signed-off-by: Hanif Kukkalli <lte-ng@outlook.com> Change-Id: If636cc34a83e0895e148597cb3a0812953db5aae
Diffstat (limited to 'csit')
-rw-r--r--csit/README.md31
1 files changed, 24 insertions, 7 deletions
diff --git a/csit/README.md b/csit/README.md
index 31a59e3284..f4b6adf901 100644
--- a/csit/README.md
+++ b/csit/README.md
@@ -11,24 +11,41 @@ Test suits are executed using Robots framework.
### Running on local environment
-Prerequisites:
+Prerequisites:
- docker
- python + pip
+- virtualenv
```bash
-sudo apt install python3-pip
+sudo apt install python3 python3-pip virtualenv
+```
+
+Add an alias in the ```.bashrc``` file for pip3 to be pip at the end of the file. </br>
+This file will be present on the home directory of the Ubuntu system.
+```bash
+alias pip=pip3
+```
+
+Now load the ```.bashrc``` file.
+```bash
+. .bashrc
```
The Robot framework and required python packages will be installed on first execution.
-Build a docker image (see also [docker-compose readme](../docker-compose/README.md) ):
+Navigate to cps project directory
+```bash
+cd ~/<your_git_repo>/cps
+```
+
+Build a docker image (see also [docker-compose readme](../docker-compose/README.md) ) from your cps directory:
```bash
-mvn clean package -Dmaven.test.skip=true -Dnexus.repository= -Pcps-xnf-docker
+mvn clean install -Dmaven.test.skip=true -Dnexus.repository= -Pcps-xnf-docker
```
-Execute test from current folder:
+Execute test from current cps folder:
```bash
-./run-project-csit.sh
+./csit/run-project-csit.sh
```
- \ No newline at end of file
+