summaryrefslogtreecommitdiffstats
path: root/csit/README.md
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2021-02-24 13:11:55 +0000
committerGerrit Code Review <gerrit@onap.org>2021-02-24 13:11:55 +0000
commit8c9b592e7e04d2d2a27c9da6befe7ea13aedadfd (patch)
tree50b462ea7345356b936919e8b512912680981b89 /csit/README.md
parent5ecf25627589001888c68e9f413c28ccaac69c26 (diff)
parentaad224026765d4b39ac9dde3c30f138dd426f897 (diff)
Merge "Introduce CPS integration testing (CSIT)"
Diffstat (limited to 'csit/README.md')
-rw-r--r--csit/README.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/csit/README.md b/csit/README.md
new file mode 100644
index 0000000000..31a59e3284
--- /dev/null
+++ b/csit/README.md
@@ -0,0 +1,34 @@
+## 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
+
+```bash
+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](../docker-compose/README.md) ):
+
+```bash
+mvn clean package -Dmaven.test.skip=true -Dnexus.repository= -Pcps-xnf-docker
+```
+
+Execute test from current folder:
+```bash
+./run-project-csit.sh
+```
+ \ No newline at end of file