Jira | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Issues and Decisions
# | Description | Notes | Decision |
---|---|---|---|
1 | Where to include which CSIT test | ||
2 | How to include the cps-core services available to the client docker-compose | See alternatives in table below |
Integration Test
Integration tests are used to check how each service works with other services and with external components. They are not concerned with the behavior of each service internally, but focus instead on the communication between services. They can also be used to test external components like databases.
Implementation in CPS
...
At present CPS has 3 different components namely, cps-core, cps-temporal, ncmp-dmi-plugin. Integration test of a component hence would be dependent on another component.
...
Three different implementation proposals as below:
1. Each component contains its own docker-compose file listing all the services required for the integration test. Eg : cps-temporal docker-compose would have services cps-temporal, timescaledb, zookeeper, cps-and-ncmp and kafka.
Pros:
- Faster implementation
...
- CI-management jobs will have to be created, hence time consuming for now
- Manageability of an additional repo .
Test Plan:
S No | Scenario | Steps | Status |
---|---|---|---|
CPS | |||
1.1 | CPS Admin Details Insert |
| To Be Updated |
1.2 | CPS Data Node Insert, Update and Delete |
| To Be Updated |
CPS Temporal | |||
2.1 | Create an anchor history |
| |
2.2 | Delete the data node to add it to history |
| |
CPS-NCMP-DMI_PLUGIN | |||
3.1 | Model-Sync, Write & read data using datastore PassTrough |
| |