New open-source TestNG library

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

New open-source TestNG library

Scott Babcock
https://github.com/Nordstrom/TestNG-Foundation

TestNG Foundation is a lightweight collection of TestNG listeners, interfaces, and static utility classes that supplement and augment the functionality provided by the TestNG API. The facilities provided by TestNG Foundation include two types of runtime listener hooks, test artifact capture, and automatic test context attribute propagation.

One of the classes in this library is ListenerChain, a TestNG listener that enables you to add other listeners at runtime and guarantees the order in which they're invoked. This is similar in behavior to a JUnit rule chain. ListenerChain also provides static methods that enable you to acquire references to listeners that are linked into the chain.

ArtifactCollector is a TestNG test listener that serves as the foundation for artifact-capturing test listeners. This is a generic class, with the artifact-specific implementation provided by instances of the ArtifactType interface.


--
You received this message because you are subscribed to the Google Groups "testng-users" 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-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: New open-source TestNG library

⇜Krishnan Mahadevan⇝

Scott,

Thanks for sharing this.

 

Couple of quick feedbacks.

 

  • The links in the README.md all seem to be pointing to https://git.nordstrom.net/projects/MFATT/repos. You might want to have it fixed.
  • Also it would be great, if you could enrich your README.md with some background behind a typical use case when a person would need something like this and full-fledged example that shows the features in action. That would greatly benefit the users who are trying to figure out how to consume your library.

 

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of Scott Babcock <[hidden email]>
Reply-To: <[hidden email]>
Date: Thursday, November 30, 2017 at 6:50 AM
To: testng-users <[hidden email]>
Subject: [testng-users] New open-source TestNG library

 

https://github.com/Nordstrom/TestNG-Foundation

 

TestNG Foundation is a lightweight collection of TestNG listeners, interfaces, and static utility classes that supplement and augment the functionality provided by the TestNG API. The facilities provided by TestNG Foundation include two types of runtime listener hooks, test artifact capture, and automatic test context attribute propagation.

 

One of the classes in this library is ListenerChain, a TestNG listener that enables you to add other listeners at runtime and guarantees the order in which they're invoked. This is similar in behavior to a JUnit rule chain. ListenerChain also provides static methods that enable you to acquire references to listeners that are linked into the chain.

 

ArtifactCollector is a TestNG test listener that serves as the foundation for artifact-capturing test listeners. This is a generic class, with the artifact-specific implementation provided by instances of the ArtifactType interface.

 

 

--
You received this message because you are subscribed to the Google Groups "testng-users" 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-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "testng-users" 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-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: New open-source TestNG library

Scott Babcock
In reply to this post by Scott Babcock
Thanks for the heads-up on those links! These are now fixed.

Regard examples, the project unit tests provide some use cases. This library is also used extensively by the Selenium Foundation library.

On Wednesday, November 29, 2017 at 5:19:59 PM UTC-8, Scott Babcock wrote:
<a href="https://github.com/Nordstrom/TestNG-Foundation" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FNordstrom%2FTestNG-Foundation\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGc8_sMCtGoijoSYGQ1qjtuyfi6aQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FNordstrom%2FTestNG-Foundation\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGc8_sMCtGoijoSYGQ1qjtuyfi6aQ&#39;;return true;">https://github.com/Nordstrom/TestNG-Foundation

TestNG Foundation is a lightweight collection of TestNG listeners, interfaces, and static utility classes that supplement and augment the functionality provided by the TestNG API. The facilities provided by TestNG Foundation include two types of runtime listener hooks, test artifact capture, and automatic test context attribute propagation.

One of the classes in this library is ListenerChain, a TestNG listener that enables you to add other listeners at runtime and guarantees the order in which they're invoked. This is similar in behavior to a JUnit rule chain. ListenerChain also provides static methods that enable you to acquire references to listeners that are linked into the chain.

ArtifactCollector is a TestNG <a href="http://javadox.com/org.testng/testng/6.8/org/testng/ITestListener.html" rel="nofollow" style="color:rgb(3,102,214);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quot;Segoe UI Symbol&quot;;font-size:16px" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fjavadox.com%2Forg.testng%2Ftestng%2F6.8%2Forg%2Ftestng%2FITestListener.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHWSTNY7lufVlWBCCkDy050d2XDrg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fjavadox.com%2Forg.testng%2Ftestng%2F6.8%2Forg%2Ftestng%2FITestListener.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHWSTNY7lufVlWBCCkDy050d2XDrg&#39;;return true;">test listener that serves as the foundation for artifact-capturing test listeners. This is a generic class, with the artifact-specific implementation provided by instances of the ArtifactType interface.


--
You received this message because you are subscribed to the Google Groups "testng-users" 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-users.
For more options, visit https://groups.google.com/d/optout.