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