The directory structure:
Test suits are executed using Robots framework.
Prerequisites:
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. This file will be present on the home directory of the Ubuntu system.
alias pip=pip3
Now load the .bashrc
file.
. .bashrc
The Robot framework and required python packages will be installed on first execution.
Navigate to ncmp-dmi-plugin project directory
cd ~/<your_git_repo>/ncmp-dmi-plugin
Build a docker image (see also docker-compose readme ) from your ncmp-dmi-plugin directory:
mvn clean install -Dmaven.test.skip=true -Ddocker.repository.push=
Execute test from current ncmp-dmi-plugin folder:
./csit/run-project-csit.sh