Test CSIT Integration Tests 86/118786/7
authorHanif Kukkalli <lte-ng@outlook.com>
Thu, 4 Mar 2021 10:52:53 +0000 (11:52 +0100)
committerToine Siebelink <toine.siebelink@est.tech>
Thu, 4 Mar 2021 15:57:53 +0000 (15:57 +0000)
Updated README.md file
Issue-ID: CPS-272

Signed-off-by: Hanif Kukkalli <lte-ng@outlook.com>
Change-Id: If636cc34a83e0895e148597cb3a0812953db5aae

csit/README.md

index 31a59e3..f4b6adf 100644 (file)
@@ -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
+