tree: d75413abb4ddc57efcac897a31295979b2646d3a [path history] [tgz]
  1. plans/
  2. scripts/
  3. tests/
  4. .gitignore
  5. prepare-csit.sh
  6. README.md
  7. run-csit.sh
  8. run-project-csit.sh
csit/README.md

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