Is testNG Good ?

You should use TestNG or not ?

TestNg is more powerful and efficient as compared to the Junit. TestNG is a Testing framework. It is inspired from Junit and Nunit. TestNG is created to cover all the categories of the test like unit, functional, end2end ,Integration etc.

There are lots of drawbacks of Junit which have been eliminated in testNG . TestNG required JDK 7 or higher.If you want to you TestNG inside eclipse you need to install TestNG plugin.

There are different types of test annotations as well in TestNG.

So coming to the point TestNG is very good framework for testing an JAVA application. you can use it because main people are preferring it over Junit.

Features of TestNG Framework

  1. TestNG is a testing framework designed for unit testing.
  2. Today it is used for every kind of testing.
  3. Initially, it is developed to simplify a broad range of testing, no matter from system testing or Unit testing.
  4. It is an open source framework which is inspired from the Java platform (JUnit) and NET platform (NUnit).
  5. It can be used for any testing, be it API testing or UI testing.
  6. It is introduced as a brand new automated framework whose functionalities make it more powerful and easier to use.

So I hope you got your answer that testNG is good or not for use.

Author: Saad Mansuri

Leave a Reply

Your email address will not be published. Required fields are marked *