Expose capability to configure TestNG via a service loading implementation #3221
krmahadevan
started this conversation in
Ideas
Replies: 1 comment 8 replies
-
@juherr - What do you think? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As and when TestNG starts adding new capabilities, the ability to configure it also starts growing. So build tools also need to absorb these changes into it so that end users can configure/tweak TestNG behavior to suite their needs.
As an example here's one such issue that talks about adding these newer capabilities into Gradle gradle/gradle#18828
What if TestNG exposes the ability to configure itself via an implementation that can be loaded up via a service loader. It could look something like this
TestNG could then look up this implementation via a service loader and then merge all tweaks (since this is a service loader, we may end up finding one or more implementations and so may need to merge) and then apply the tweaks to TestNG to configure it.
This way end users would no longer have to depend on build tools to expose these capabilities and they could tweak the behavior of TestNG in yet another way.
Beta Was this translation helpful? Give feedback.
All reactions