Testing is no longer a phase—it is an integral part of the cloud-native CI/CD pipeline. We are decoupling deployment from release and controlling the batch size of each deployment so that we can minimize the risk of each deployment and thereby increase the pace of deployments to many times per day. To achieve the desired pace with confidence, the test suites must execute within the CI/CD pipeline without creating a bottleneck. In Chapter 6, Deployment, our modern CI/CD pipeline executes all tests on every push to a given branch. This includes both unit testing and integration testing. As we will discuss in the Transitive testing section, this effectively includes end-to-end testing as well.
To accomplish this objective, all testing must be isolated to the component under test. The CI/CD pipeline cannot rely on the presence of any resources outside the pipeline...