The most important change is that JDK 1.4 and Javadoc annotations are no longer supported. If you are still using JDK 1.4, you will have to stick with TestNG 5.11.
The most notable new feature in this new release is the annotation @Listeners <http://testng.org/javadocs/index.html>, which lets you add listeners directly in Java (no need for XML). Any TestNG listener (i.e. any class that extends ITestNGListener<http://testng.org/javadocs/org/testng/ITestNGListener.html>) can be used as a value for this annotation, except IAnnotationTransformer<http://testng.org/javadocs/org/testng/IAnnotationTransformer.html>which needs to be known before TestNG starts parsing your annotations. *Core* - Removed: JDK 1.4 and Javadoc annotation support - Added: @Listeners - Added: IAttributes#getAttributeNames and IAttributes#removeAttribute - Added: testng-results.xml now includes test duration in the <suite> tag (Cosmin Marginean) - Added: Injection now works for data providers - Added: TestNG#setObjectFactory(IObjectFactory) - Added: Priorities: @Test(priority = -1) - Added: New attribute invocation-numbers in <include> - Added: testng-failed.xml only contains the data provider invocations that failed - Added: IInvokedMethodListener2 to have access to ITestContext in listeners (Karthik Krishnan) - Fixed: @Before* methods run from factories were not properly interleaved - Fixed: The TextReporter reports skipped tests as PASSED (Ankur Agrawal) *Eclipse* - Added: New file wizard: can now create a class with annotations, including @DataProvider - Added: You can now select multiple XML suites to be run in the launch dialog - Fixed: @Test(groups = [constant]) was taking name of the constant instead of its value. - Fixed: Issue 476 – NPE with Groovy Tests (Andrew Eisenberg)<http://jira.codehaus.org/browse/GRECLIPSE-476> - Fixed: The custom XML file is now created in the temp directory instead of inside the project - Fixed: In the launch dialog, now display an error if trying to pick groups when no project is selected - Fixed: Was not setting the parallel attribute correctly on the temporary XML file http://java.dzone.com/news/announcing-testng-512 -- You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en.
