Junit vs TestNG

Posted by Sam Merrell on Stack Overflow See other posts from Stack Overflow or by Sam Merrell
Published on 2008-08-09T06:31:25Z Indexed on 2010/04/07 14:33 UTC
Read the original article Hit count: 432

Filed under:
|
|
|

At work we are currently still using Junit3 to run our tests. We have been considering switching over to Junit4 for new tests being written but I have been keeping an eye on TestNG for a while now. What experiences have you all had with either Junit4 or TestNG and which seems to work better for very large numbers of tests. Having flexibility in writing tests is also important to us since our functional tests cover a wide aspect and need to be written in a variety of ways to get results.

Old tests will not be re-written as they do their job just fine. What I would like to see in new tests though is flexibility in the way the test can be written, natural assertions, grouping, and easily distributed test executions.

© Stack Overflow or respective owner

Related posts about java

Related posts about testing