summaryrefslogtreecommitdiffstats
path: root/csit
diff options
context:
space:
mode:
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
+