Testng is a Java application.Program. Testng is not only powerful, innovative, scalable, and flexible, but also shows interesting applications of Java annotations (major new features in JDK 5.0.
This release contains two important features: one is to use yaml to specify test suite like XML. JSON has also been taken into consideration, but in the end yaml wins, it does not need to use "" to specify character values, and design for people, not machines. Both formats are suitable for copying and pasting.CodeBut it does not have to consider starting to close the tag or annotate with a token like XML.
Added support for guice to provide instance injection. Guice is a cropped di framework that supports the JSR-330 @ inject used to provide instances at run. For more information, see.
To make upgrading JUnit 3.x to 4.x easier, Eclipse plug-in provides a way to convert JUnit to testng. In addition, Eclipse plug-in supports converting XML to a newer yaml format. Eclipse plug-in can be updated through Update site.
: Http://testng.org/doc/download.html
From: http://www.oschina.net/news/16537/testng-6
This article is the use of b3log solo from the simple design of the art of the original article: http://88250.b3log.org/testng-6.html