TestNG 5.0 Released
The major new features in TestNG are:
- Configuration annotations are now called @BeforeTest, @BeforeSuite, which are terse and also support IDE auto-completion for users who might type @Before
- When executing multiple test suites, reports are now kept distinct in each suite's directory. Report UI's have also been improved.
- New SuiteName and testName attributes in the @Test annotation allows grouping tests to specific suites in the code instead of TestNG.XML. Useful for grouping reports for tests executed via ant or command line.
- @ExpectedAnnotations deprecated in favour of an expectedExceptions attribute in @Test.
- Improved StackTrace readibility by hiding unnecessary portions of the stack trace
Revamped annotations and more
by
Alex Popescu
./alex
--
.w( the_mindstorm )p.
Re: Revamped annotations and more
by
BK Lau
Congrats!. I want to say that now that TestNG is gaining traction, my suggestion in minor release would be really nice to put some efforts to "buff" up reporting. The current out-of-box reporting is an improvement but... from my experience management are mesmerized by reports and those nice html presentations, maybe DHTML/AJAX.
I kid you not..that's what managers look at.(Read: Stats and something they can present in meetings....)
TestNG needs to have a "signature" reporting that caused "wow!"s and not let Junit pretty reporting take the lead.
Keep up with the good job.
-BK-
Re: Revamped annotations and more
by
Alex Popescu
./alex
--
.w( the_mindstorm )p.
Educational Content
Java Garbage Collection Distilled
Martin Thompson Jun 17, 2013
C++11 The Future is Here
Bjarne Stroustrup Jun 16, 2013
The Big Data Revolution
Claudia Perlich Jun 16, 2013
Engines of Abstraction
Jim Duey Jun 13, 2013
Behavior-driven Development
Liz Keogh Jun 13, 2013




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think