Xceptance / neodymium-library

A test automation library based on common other best practice open source libraries. It adds missing functionalities but does not reinvent the wheel. Just glues stuff together nicely and adds some sprinkles.
MIT License
80 stars 11 forks source link

Improvement: Allow Neodymium config to be overwritten by system properties and system environment variables #286

Open wurzelkuchen opened 3 months ago

wurzelkuchen commented 3 months ago

Quick Description

We should add the possibility to change our configuration from the outside. For example in CI/CD environments it would help to use environment variables to actually change the configuration. For example setting the base URL for different environments, without the need to touch the repository

User Story

As a test engineer, I want to have the possibility to change all the config values, without doing a commit each time so that I can run different pipelines for different configurations more easily

Functional Requirements

Documentation Requirements

Test Requirements

wurzelkuchen commented 2 months ago

Update note: due to specifics in the owner framework, we decided to not have the dev-neodymium.properties as the highest point in the overwriting hierarchy, but the system properties/environment variables.

georgkunze commented 2 months ago

Code is ready for Recheck. Documentation done.