...
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 jobs:
- https://jenkins.onap.org/job/cps-review-verification-maven-master/
- https://jenkins.onap.org/job/cps-merge-verification-maven-master/
On CSIT job execution
- the CPS docker image is built
- the runtime environment of CPS and PosgreSQL containers is up using docker-compose
- the tests are executed using Robot Framework
- the test results are published as Jenkins job results
...
JIRAs
Jira server ONAP JIRA serverId 425b2b0a-557c-3c0c-b515-579789cceedb key REQ-630 Jira server ONAP JIRA serverId 425b2b0a-557c-3c0c-b515-579789cceedb key REQCPS-630188 Jira server ONAP JIRA serverId 425b2b0a-557c-3c0c-b515-579789cceedb key CPS-188261 Jira server ONAP JIRA serverId 425b2b0a-557c-3c0c-b515-579789cceedb key CPS-261272
Test Cases
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 |
...