Tuesday 15 June, 2010

Migrating From Junit 4 to TestNG

Testing next generation sounds good , for which recently I had migrated some of my unit tests written in JUnit 4 to Test NG.

Some useful features I have used and liked:

  1. Annotations
  2. Dependent Method
  3. Groups
  4. Printable and User Friendly Reports
  5. CSS Configuration for reports
  6. Tests runnable for various granularities like suites , groups, class , package etc
  7. Eclipse plugin available
  8. Data Provider
  9. Spring compatibily
  10. XML configuration
  11. Many more which can be read from the Test NG documentation

No comments:

Post a Comment