CPS Testing
CPS Team Testing Strategy
CPS Test Overview
CPS testing strategy follows best in class quality principles and practices; based on the Testing Pyramid as recommended by Martin Fowler.
credit: https://martinfowler.com/articles/practical-test-pyramid.html
This Diagram shows an overview of the different types of test and their scope related to the architecture layers | Color Coding |
Source Code | |
Unit Test | |
| |
Integration Test |
Over time we have developed an extensive set of tests:
1 | |
2 | Service Test (or Semi-Integration Test) using Spring Boot Test Containers for Postgres and Kafka and Mocked/Stubbed Services for external components like DMI and Policy Executor. These test are written in Groovy & Spock
|
3 | (UI) Integration test (since we don't have a UI these start at the REST layer of our components)
|
4 | Contract Testing (not visible in diagram) |