Saturday, 9 June 2018

Introduction to TestNG and TestNG Setup in Eclipse

TestNG is Next Generation Testing framework developed in the lines of JUnit and NUnit, but it has some new functionalities that make it more powerful and easier to use. TestNG is designed to cover all kinds of tests: unit, functional, end-to-end, integration, etc., and it requires JDK 5 or higher.


Pros of using TestNG -
There are number of benefits but from Selenium/Appium perspective, major advantages of TestNG are :
  1. It gives the ability to produce HTML Reports of Test Suit execution.
  2. Annotations makes testers life easy and defines flow of test execution.
  3. Test cases can be Grouped & Prioritized more easily using TestNG annotations.
  4. Parallel testing is possible for example running same test on multiple browsers at the same time.
  5. Generates Logs which are useful for debugging purposes.
  6. Data Parameterization is possible.

Video Tutorial -


 How to Configure TestNG in Eclipse -

1. Open Eclipse.
2. Navigate to Eclipse Marketplace.

3. Search TestNG.


4. Click on Install.
5. Done.


3 comments:

  1. Pretty blog, so many ideas in a single site, thanks for the informative article, keep updating more article.
    Software testing course in chennai

    ReplyDelete
    Replies
    1. I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts. Python Projects for Students Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account. Project Center in Chennai

      Delete
  2. Nice post. Thanks for sharing! I want people to know just how good this information is in your article. It’s interesting content and Great work.
    Thanks & Regards,
    VRIT Professionals,
    No.1 Leading Web Designing Training Institute In Chennai.

    ReplyDelete