#ICYMI: PouchContainer uses unit testing and integration testing to ensure code quality. When submitting PR, developers are required to provide the corresponding code of unit testing and integration testing. This requirement ensures regression quality, reduces code review costs, and improves cooperation efficiency. PouchContainer uses go test to measure the coverage rates of unit testing and integration testing and works with TravisCI and Codecov to run tests for every PR submission and display data about test coverage rates clearly. It is complex to measure the coverage rate of integration testing. This document describes how such measurement is done in PouchContainer.
Go Test Coverage Rate
Before introducing integration test coverage rate measurement, we need to understand the working of coverage rate measurement in Golang. In Golang, coverage rates are measured by overriding the package source code before compilation to add statistics and then compiling and executing the code. The following describes the specific execution process with reference to the preceding document. https://goo.gl/j7Mfx8 #DataIntegration #ML


