Announcing TestNG 2.4

5 views
Skip to first unread message

Cedric Beust

unread,
Jun 27, 2005, 4:45:43 PM6/27/05
to testng...@googlegroups.com
We are happy to announce the availability of TestNG 2.4.
 
There are a lot of new features and bug fixes in this release, and also note that this release includes the new packaging ("org.testng").  The classes com.beust.testng.TestNG and com.beust.testng.TestNGAntTask will keep working, so you don't need to update them if you don't want to, but everything else has been moved under org.testng.
 
A complete list of changes is included below.
 
Please note that the Eclipse plug-in has not been updated yet to this new version (I will announce this separately).
 
 
2.4
Changed: New package:  testng.org
Fixed: Bug with @ExpectedException occuring the parallel mode
Fixed: Bug with parameters and beforeTest
Added: IInstanceInfo support
Fixed: methods were not excluded when included by groups
Fixed: testng-failures.xml is now including also the beforeSuite/afterSuite methods
Fixed: generating the testng-failures.xml is now working as expected
Fixed: Factories call all the tests even if some of them fail along the way
Fixed: Better JUnit support (wasn't creating individual instances)
Fixed: dependsOnGroups didn't work across different classes
Added: command line (and Ant) -groups option
Added: @Parameters (and made parameters attribute deprecated)
Added: Parameters for constructors
Fixed: Better interleaving of before/afterTestMethods
Fixed: Ant task
Fixed: TestNGException thrown when TestNG conditions are not fulfilled
 
Documentation:
- New assert classes
- New ways to launch
- JUnitConverter documentation
- new beforeSuite/afterSuite
 
--
Cédric
 
 

Steven Buroff

unread,
Jul 2, 2005, 8:29:18 AM7/2/05
to testng...@googlegroups.com, sbu...@optonline.net
I just downloaded 2.4 and the javadocs are totally messed up. When I display index.html,
it only shows 2 classes, TestNG and TestNGAntTask. Seems like all the org.testng.* classes
are missing.
 
Steve Buroff


From: testng...@googlegroups.com [mailto:testng...@googlegroups.com] On Behalf Of Cedric Beust
Sent: Monday, June 27, 2005 4:46 PM
To: testng...@googlegroups.com
Subject: [testng-users] Announcing TestNG 2.4

Alexandru Popescu

unread,
Jul 2, 2005, 1:02:28 PM7/2/05
to testng...@googlegroups.com
#: by Steven Buroff's words the mind was *winged* :#
> I just downloaded 2.4 and the javadocs are totally messed up. When I display
> index.html,
> it only shows 2 classes, TestNG and TestNGAntTask. Seems like all the
> org.testng.* classes
> are missing.
>
> Steve Buroff
>
>
> _____
>
Steven I have checked the build.xml and it seems oke. Can you try it and let me know if it works as
expected?

:alex |.::the_mindstorm::.|

Steven Buroff

unread,
Jul 2, 2005, 12:11:49 PM7/2/05
to testng...@googlegroups.com
It doesn't. I had to change it and I have it working now. I've attached
the file I modified. Check out the "javadocs" target. You forgot to change
the package names.

Steve
build.xml

Cedric Beust

unread,
Jul 2, 2005, 12:13:03 PM7/2/05
to testng...@googlegroups.com
Steve, the Web site looks okay to me after a few random clicks:
 
 
Can you be more specific?
 
--
Cédric
 
 


From: testng...@googlegroups.com [mailto:testng...@googlegroups.com] On Behalf Of Steven Buroff
Sent: Saturday, July 02, 2005 5:29 AM
To: testng...@googlegroups.com
Cc: sbu...@optonline.net

Subject: [testng-users] Re: Announcing TestNG 2.4

Cedric Beust

unread,
Jul 2, 2005, 12:21:00 PM7/2/05
to testng...@googlegroups.com
Ah ok I see.  For some reason, it's the older build.xml that was included in the distribution.  Odd.
 
I'll fix that right away.
 
Having said that, if you want to build TestNG, you are better off getting it from the CVS depot since the distribution doesn't contain all the jar files necessary to rebuild it from scratch...
 
--
Cédric
 
 


From: testng...@googlegroups.com [mailto:testng...@googlegroups.com] On Behalf Of Cedric Beust
Sent: Saturday, July 02, 2005 9:13 AM
To: testng...@googlegroups.com

Steven Buroff

unread,
Jul 2, 2005, 12:22:20 PM7/2/05
to testng...@googlegroups.com
From: testng...@googlegroups.com [mailto:testng...@googlegroups.com] On Behalf Of Cedric Beust
Sent: Saturday, July 02, 2005 12:13 PM
To: testng...@googlegroups.com
Subject: [testng-users] Re: Announcing TestNG 2.4

I'm talking about the download file. If you download testng-2.4.zip and unzip it and then display
<installdir>/javadocs/index.html, you'll see only the 2 classes. I think what's on the web
site isn't what's in the zip file unless testng-2.4.zip isn't the latest.
 
Steve

Steven Buroff

unread,
Jul 2, 2005, 12:24:45 PM7/2/05
to testng...@googlegroups.com
From: testng...@googlegroups.com [mailto:testng...@googlegroups.com] On Behalf Of Cedric Beust
Sent: Saturday, July 02, 2005 12:21 PM
To: testng...@googlegroups.com
Subject: [testng-users] Re: Announcing TestNG 2.4

Ah ok I see.  For some reason, it's the older build.xml that was included in the distribution.  Odd. 
and used to generate the javadocs in the distribution apparently. 
 
I'll fix that right away.
 
Having said that, if you want to build TestNG, you are better off getting it from the CVS depot since the distribution doesn't contain all the jar files necessary to rebuild it from scratch... 
Thanks for the info. However, I didn't really want to rebuild it and I didn't do a full build, I just did an
"ant javadocs" to rebuild the javadocs after I modified the build.xml file. 
 
Steve

Alexandru Popescu

unread,
Jul 2, 2005, 1:22:04 PM7/2/05
to testng...@googlegroups.com
#: by Steven Buroff's words the mind was *winged* :#
>
>
>
> _____
>
> From: testng...@googlegroups.com [mailto:testng...@googlegroups.com]
> On Behalf Of Cedric Beust
> Sent: Saturday, July 02, 2005 12:13 PM
> To: testng...@googlegroups.com
> Subject: [testng-users] Re: Announcing TestNG 2.4
>
>
> Steve, the Web site looks okay to me after a few random clicks:
>
> http://testng.org/javadocs/org/testng/package-summary.html
> http://testng.org/javadocs/org/testng/ISuite.html
> http://testng.org/javadocs/org/testng/AssertJUnit.html
>
> Can you be more specific?
>
> I'm talking about the download file. If you download testng-2.4.zip and
> unzip it and then display
> <installdir>/javadocs/index.html, you'll see only the 2 classes. I think
> what's on the web
> site isn't what's in the zip file unless testng-2.4.zip isn't the latest.
>
> Steve
>
>
The build.xml on cvs was updated by me after Cedric ported the package names (and comitted). So I am
not sure what is causing the problem.

:alex |.::the_mindstorm::.|

Cedric Beust

unread,
Jul 2, 2005, 12:25:21 PM7/2/05
to testng...@googlegroups.com
Ok, this should be fixed now.
 
Thanks for catching this, Steve!
 
--
Cédric
 
 


From: testng...@googlegroups.com [mailto:testng...@googlegroups.com] On Behalf Of Cedric Beust
Sent: Saturday, July 02, 2005 9:21 AM

Steven Buroff

unread,
Jul 2, 2005, 12:32:23 PM7/2/05
to testng...@googlegroups.com
From: testng...@googlegroups.com [mailto:testng...@googlegroups.com] On Behalf Of Cedric Beust
Sent: Saturday, July 02, 2005 12:25 PM
To: testng...@googlegroups.com
Subject: [testng-users] Re: Announcing TestNG 2.4

Ok, this should be fixed now. 
Yep - I just downloaded it again and its OK now. Thanks. 
 
Thanks for catching this, Steve! 
No problem. Thanks for the quick response.
 
Steve 
Reply all
Reply to author
Forward
0 new messages