tree: 9c0598169c735292bbb045892a79e273db5a64c5 [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 DCAEGEN2 PM-Mapper

The directory structure:

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

Test suites are executed using Robot framework.

Running on local environment

Prerequisites:

  • maven
  • docker
  • docker-compose
  • settings.xml corresponding to the one under oparent repository

Navigate to project directory ```bash cd ~/<your_git_repo>/pm-mapper

Build a docker image from your pm-mapper directory:

mvn clean install docker:build

Execute tests from pm-mapper/csit folder:

cd csit
./run-project-csit.sh

To run any individual suite, use run-csit.sh with appropriate plans subdirectory, for example:

./run-csit.sh plans/pmmapper