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
Concurrency in Clojure
Stuart Halloway May 17, 2013
Confessions of an Agile Addict
Ole Friis Østergaard May 16, 2013
Web Development: You're Doing It Wrong
Stefan Tilkov May 16, 2013
Programming The Feynman Way
Ben Evans May 15, 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