CPS Integration Test Cases

Table Of Contents:

Overview

The integration testing is implemented as CSIT Jenkins jobs as described in Project-specific CSIT structure

On CSIT job execution

  • the CPS docker image is built 

  • the runtime environment of CPS and PostgreSQL containers is up using docker-compose

  • the tests are executed using Robot Framework 

  • the test results are published as Jenkins job results

Jenkins Jobs

Following jobs are serving CSIT for CPS project

JIRAs

Test Cases

Test Case Name

Test Suite

Description

Test Case Name

Test Suite

Description

Test Liveness Probe Endpoint

actuator

Validates the liveness probe endpoint is accessible

Test Readiness Probe Endpoint

actuator

Validates the readiness probe endpoint is accessible

Create Dataspace

cps-admin

Tests a dataspace being created successfully,

Create Schema Set from YANG file

cps-admin

Tests a schema set can be created from yang file uploaded

Create Schema Set from ZIP file

cps-admin

Tests a schema set of multiple yang files can be created from zip file uploaded

Get Schema Set info

cps-admin

Tests a schema set info retrieval after it's being created

Create Anchor

cps-admin

Tests an anchor can be created for given dataspace and schema set

Create Data Node

cps-data

Tests data upload

Get Data Node by XPath

cps-data

Tests data retrieval by xpath