exasol / integration-test-docker-environment

A docker-based environment for integration tests with the EXASOL DB.
https://exasol.github.io/integration-test-docker-environment/
MIT License
6 stars 2 forks source link

Refactor ExaslctTestEnvironment #202

Open tomuben opened 2 years ago

tomuben commented 2 years ago

Background

In some cases we need only a subset of the functionality of ExaslctTestEnvironment: For example see here where we only need specific arguments for the click commands and the cleanup of the docker images. With the current implementation we need to instantiate ExaslctTestEnvironment even if we actually don't use exaslct itself (like in the case above where we call the click commands directly).

It would be good to refactor this class and extract the arguments management and image cleanup so it could be re-used, but without instantiating ExaslctTestEnvironment