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

Logging backend and configuration #253

Closed h-arlt closed 3 months ago

h-arlt commented 3 months ago

For end-users it can become a quite tricky task to configure the logging in their test suite for several reasons:

As this is a testing library, it should depend on SLF4j as logging facade solely and must not ship any logger bindings. It's up to the end-user to pick a proper binding according to the logging backend they want to use. As a consequence, Neodymium should also not include any logging configuration files.

In case, Neodymium requires some logging binding for testing and development purposes, it should declare such a dependency in a proper scope in its POM such that it won't be pulled as transitive dependency (e.g. runtime or test). And, Maven need to be configured to not include any logging configuration files in the produced artifacts.