Quantcast

[testng-dev] Feature request: Allow object factory to be specified via ServiceLoader configuration file

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[testng-dev] Feature request: Allow object factory to be specified via ServiceLoader configuration file

Scott Babcock
The ability to specify listeners via ServiceLoader configuration file is very useful, as this mechanism declares the listeners within the project in a way to works the same no matter how the tests are executed - Maven command line, Eclipse, IntelliJ, ...

It would be great if this same mechanism were available to specify an object factory. This would provide the same sort of cohesion and consistency that's available for listeners.

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [testng-dev] Feature request: Allow object factory to be specified via ServiceLoader configuration file

Cédric Beust ♔-2
Can you file an issue? Easier to keep track of than an email.

Thanks!

-- 
Cédric


On Wed, Dec 14, 2016 at 10:06 AM, Scott Babcock <[hidden email]> wrote:
The ability to specify listeners via ServiceLoader configuration file is very useful, as this mechanism declares the listeners within the project in a way to works the same no matter how the tests are executed - Maven command line, Eclipse, IntelliJ, ...

It would be great if this same mechanism were available to specify an object factory. This would provide the same sort of cohesion and consistency that's available for listeners.

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [testng-dev] Feature request: Allow object factory to be specified via ServiceLoader configuration file

Scott Babcock
Done... https://github.com/cbeust/testng/issues/1286

On Wednesday, December 14, 2016 at 4:43:28 PM UTC-8, Cédric Beust ♔ wrote:
Can you file an issue? Easier to keep track of than an email.

Thanks!

-- 
Cédric


On Wed, Dec 14, 2016 at 10:06 AM, Scott Babcock <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="MfXTtYi-BwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">sco...@...> wrote:
The ability to specify listeners via ServiceLoader configuration file is very useful, as this mechanism declares the listeners within the project in a way to works the same no matter how the tests are executed - Maven command line, Eclipse, IntelliJ, ...

It would be great if this same mechanism were available to specify an object factory. This would provide the same sort of cohesion and consistency that's available for listeners.

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="MfXTtYi-BwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">testng-dev+...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="MfXTtYi-BwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">testn...@....
Visit this group at <a href="https://groups.google.com/group/testng-dev" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/group/testng-dev&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/testng-dev&#39;;return true;">https://groups.google.com/group/testng-dev.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
Loading...