stryker-mutator / stryker4s

Mutation testing for Scala
https://stryker-mutator.io
Apache License 2.0
201 stars 37 forks source link

rework config #1643

Closed hugo-vrijswijk closed 1 month ago

hugo-vrijswijk commented 1 month ago

Reworks how Stryker4s reads config to allow multiple sources. Any config value can be read from any config source and combined into a config. For example, a dashboard module from sbt, dashboard version as a CLI arg and a default dashboard URI are combined into a single dashboard config. Each source has a priority which will be tried first.

Currently, allows HOCON file (same as before), CLI arguments and sbt settings. Improved CLI arg handling, maven config source is future work. Moving the dashboard environment resolving by adding a environment variable resolver is also future work.

Todo: