Some errors can slip through the cracks of the current tests because there is no integration testing of individual functions.
We should make sure there is at least one extensive integration test for each public function.
This probably requires refactoring the code in the Integration.Tests.ps1 file and extract the setup code there into a new function in the Docker-CI.Tests.psm1 module. This code would then be a common setup used to setup and teardown a local docker registry for use in all the integration tests.
Some errors can slip through the cracks of the current tests because there is no integration testing of individual functions.
We should make sure there is at least one extensive integration test for each public function. This probably requires refactoring the code in the
Integration.Tests.ps1
file and extract the setup code there into a new function in theDocker-CI.Tests.psm1
module. This code would then be a common setup used to setup and teardown a local docker registry for use in all the integration tests.