Skip to content

Allow modifying configuration through extensions? #6083

Open
@pkly

Description

As far as I can tell it is not possible to modify the configuration by means other than cli and xml.
In our case we'd like to detect what testsuite is running, and update the coverage exclusion rules.

I've looked over but it seems that both 10 and 11 only have a cli and merger from xml for the configuration, but at least the extensions could be loaded and ran to re-modify the config (or at least the configuration).

It is a bit of a mess, since the cli and xml load a config, then would run an extension, which would then update the config and then only that would be ran.

So CLI -> XML -> Load extensions -> parse config -> run

Or, create a separate extension listener type of some sort to only allow config modification, which would also suit our needs.

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions