Continuous System and Integration Testing (CSIT) for CPS

The directory structure:

  • plans/ contains testing plans, each sub-folder represents a separate test plan, contains processed subsequently: startup.sh (serves docker containers startup), testplan.txt (lists test-suits), teardown.sh (serves docker containers stopping and images removal)
  • scripts/ contains shell scripts used on tests executions
  • tests/ contains test suits which are processed by folder name (relative to tests folder) taken from testplan.txt

Test suits are executed using Robots framework.

Running on local environment

Prerequisites:

  • docker
  • python + pip
sudo apt install python3-pip 

The Robot framework and required python packages will be installed on first execution.

Build a docker image (see also docker-compose readme ):

mvn clean package -Dmaven.test.skip=true -Dnexus.repository= -Pcps-xnf-docker

Execute test from current folder:

./run-project-csit.sh