3shape / docker-ci

Helps you build rock-solid Docker images. Written as a Powershell Core module. Install from PSGallery.
Apache License 2.0
5 stars 3 forks source link

Integration tests for all public functions #94

Open rasmusjelsgaard opened 4 years ago

rasmusjelsgaard commented 4 years ago

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.