August 08, 2005

Announcing TestNG 2.5

The TestNG team is happy to announce the release of TestNG 2.5.

Highlights of this release:

  • A brand new Web site.
  • An IDEA plug-in, courtesy of Hani Suleiman and Mark Derricutt.
  • An improved Maven plug-in.
  • You can now specify entire packages in testng.xml instead of enumerating all your test classes.
  • alwaysRun configuration methods:  if a test fails, any configuration methods annotated with this boolean will always be run, regardless of whether something wrong happened during the tests.
  • Package support in testng.xml.

The full list of changes is included below.

The Eclipse plug-in has also been updated (2.5.0) and is available from the update site (http://beust.com/eclipse) or downloadable as a zip file from http://testng.org.

Thanks a lot to everyone who contributed to this release, it's a pretty major step for TestNG!

Change list for TestNG 2.5

Core

  • Added: ITestListener.onTestStart(ITestResult)
  • Added: Support for <packages>
  • Fixed: @Configuration methods were not invoked with individual test methods
  • Added: Resource files for easier ant taskdefs
  • Fixed: Bug with ExpectedExceptions
  • Fixed: Didn't support nested factory classes
  • Fixed: NPE if -target is omitted with JDK 1.4
  • Fixed: @Configuration failures in a class would cause other classes to fail
  • Fixed: beforeTestClass/afterTestClass were broken for a pathological case
  • Added: @Configuration(alwaysRun)
  • Added: JUnitConverter task
  • Fixed: < and > characters in reports were not escaped
Eclipse plug-in:
  • Fixed: Class dialog wasn't showing @Factory classes
IDEA plug-in:
  • First release!
Documentation:
  • Added: Brand new look!!!
  • Added: Section on testng.xml
  • Fixed: Numbering of sections

 

Posted by cedric at August 8, 2005 06:46 AM
Comments

U give me java project!

Posted by: Shitasam Suitam at August 8, 2005 01:05 PM

why it give no results when I use jdk1.4 doclet?

Posted by: miracle at August 12, 2005 04:31 AM

The download link should be http://testng.org/doc/download.html

Andrew.

Posted by: Andrew at August 18, 2005 12:52 AM
Post a comment






Remember personal info?