1 ## Continuous System and Integration Testing (CSIT) for CPS
3 The directory structure:
5 - **plans/** contains testing plans, each sub-folder represents a separate test plan, contains processed subsequently:
6 _startup.sh_ (serves docker containers startup), _testplan.txt_ (lists test-suits), _teardown.sh_ (serves docker containers stopping and images removal)
7 - **scripts/** contains shell scripts used on tests executions
8 - **tests/** contains test suits which are processed by folder name (relative to _tests_ folder) taken from _testplan.txt_
10 Test suits are executed using Robots framework.
12 ### Running on local environment
20 sudo apt install python3 python3-pip virtualenv
23 Add an alias in the ```.bashrc``` file for pip3 to be pip at the end of the file. </br>
24 This file will be present on the home directory of the Ubuntu system.
29 Now load the ```.bashrc``` file.
34 The Robot framework and required python packages will be installed on first execution.
36 Navigate to cps project directory
38 cd ~/<your_git_repo>/cps
41 Build a docker image (see also [docker-compose readme](../docker-compose/README.md) ) from your cps directory:
44 mvn clean install -Dmaven.test.skip=true -Dnexus.repository=
47 Execute test from current cps folder:
49 ./csit/run-project-csit.sh