The TestNG team is happy to announce the immediate availability of TestNG 4.5.
This release contains a lot of bug fixes and a few new features (JAAS support, for example). It also includes the first phase of Distributed TestNG, a work in progress designed to transparently distribute tests on many machines and collect their results.
Announcement:
http://beust.com/weblog/archives/000361.html
Details on Distributed TestNG:
http://beust.com/weblog/archives/000362.html
-
Announcing TestNG 4.5 (8 messages)
- Posted by: Cedric Beust
- Posted on: February 08 2006 17:23 EST
Threaded Messages (8)
- Announcing TestNG 4.5 by Ruslan Zenin on February 09 2006 16:46 EST
- Announcing TestNG 4.5 by Cedric Beust on February 10 2006 11:18 EST
- Announcing TestNG 4.5 by Ruslan Zenin on February 10 2006 12:29 EST
- Announcing TestNG 4.5 by Cedric Beust on February 10 2006 11:18 EST
- Announcing TestNG 4.5 by Gavin King on February 09 2006 20:09 EST
- Maven 2 support? by Jose Gonzalez Gomez on February 10 2006 04:35 EST
- Maven 2 support? by Chris Schoon on February 10 2006 06:06 EST
- Maven 2 support? by Cedric Beust on February 10 2006 11:14 EST
- Announcing TestNG 4.5 by Geert Bevin on February 10 2006 09:58 EST
-
Announcing TestNG 4.5[ Go to top ]
- Posted by: Ruslan Zenin
- Posted on: February 09 2006 16:46 EST
- in response to Cedric Beust
Congratulations!
Distributed testing looks like a good and useful feature.
Also, I was wondering if you had chance to think about or implement multi-threaded test case execution.
I have outlined these requirements in the past here:
http://www.theserverside.com/news/thread.tss?thread_id=30394#148485 -
Announcing TestNG 4.5[ Go to top ]
- Posted by: Cedric Beust
- Posted on: February 10 2006 11:18 EST
- in response to Ruslan Zenin
Congratulations!Distributed testing looks like a good and useful feature.Also, I was wondering if you had chance to think about or implement multi-threaded test case execution.I have outlined these requirements in the past here:http://www.theserverside.com/news/thread.tss?thread_id=30394#148485
Wow, that was more than a year ago. You are resilient :-)
Yes, improved multi-thread testing is something that comes up on and off. Recently, somebody asked if the invocationCount support could be made multi-threaded:
@Test(invocationCount = 1000, threadPoolSize = 10)
public void sendHttpRequest() { }
... would invoke that method a thousand times in a pool of 10 threads (currently, invocationCount is always single threaded).
TestNG doesn't support this currently -- only threaded invocations at the suite level -- but it's definitely something I am thinking about.
--
Cedric -
Announcing TestNG 4.5[ Go to top ]
- Posted by: Ruslan Zenin
- Posted on: February 10 2006 12:29 EST
- in response to Cedric Beust
Recently, somebody asked if the invocationCount support could be made multi-threaded:
Yes something like that would be great. The only one thing that needs to be clarified: "pool of 10 threads" from your example would mean that 10 threads will be created and run *concurrently* sendHttpRequest() test case.
@Test(invocationCount = 1000, threadPoolSize = 10)
public void sendHttpRequest() { }
... would invoke that method a thousand times in a pool of 10 threads (currently, invocationCount is always single threaded).TestNG doesn't support this currently -- only threaded invocations at the suite level -- but it's definitely something I am thinking about.-- Cedric
Thanks for taking this request into consideration! Even a year later from its original proposal - better than never... ;)
I think it will benefit testNG users a lot when multi-thread testing comes into play. This way it will be relatively easy to set up tiny unit test cases that check some methods of the classes that are supposed to be thread safe.
I hope it will make it into the next release.
Thanks in advance,
Ruslan -
Announcing TestNG 4.5[ Go to top ]
- Posted by: Gavin King
- Posted on: February 09 2006 20:09 EST
- in response to Cedric Beust
Great. We have been using TestNG for Seam and are loving it. I'll go upgrade now :-) -
Maven 2 support?[ Go to top ]
- Posted by: Jose Gonzalez Gomez
- Posted on: February 10 2006 04:35 EST
- in response to Cedric Beust
Any work going on to provide a Maven2 plugin? At the web you only mention Maven 1 support. -
Maven 2 support?[ Go to top ]
- Posted by: Chris Schoon
- Posted on: February 10 2006 06:06 EST
- in response to Jose Gonzalez Gomez
Any work going on to provide a Maven2 plugin? At the web you only mention Maven 1 support.
more information about the maven 2 plugin can be found at http://groups.google.com/group/testng-users/browse_thread/thread/cc74394185de2954/f1eb48edc3ed3b1e#f1eb48edc3ed3b1e -
Maven 2 support?[ Go to top ]
- Posted by: Cedric Beust
- Posted on: February 10 2006 11:14 EST
- in response to Jose Gonzalez Gomez
Any work going on to provide a Maven2 plugin? At the web you only mention Maven 1 support.
Actually, if you look at the HTML source, you will notice that the Maven 2 documentation is already there but commented out :-)
I commented it out right now because even though the plug-in is complete, we are waiting for the approval of a few check-ins in the Maven/SureFire codebase. As soon as these changes are accepted, I'll restore the documentation.
So the answer is: yes, there is a TestNG Maven 2 plug-in, and it will be available very soon.
--
Cedric -
Announcing TestNG 4.5[ Go to top ]
- Posted by: Geert Bevin
- Posted on: February 10 2006 09:58 EST
- in response to Cedric Beust
I've been enjoying TestNG a lot with RIFE's out-of-container testing support. We test all our webapps like this now and it's really a great combination.
Thanks, Cedric!