TestNG Benefits For Test Automation - ebook

Test NG (Testing New Generation) is a unit testing framework very similar with JUNIT.

It was created by Cedric Beust and is inspired by JUNIT.

It aims at providing more and better functionality than JUNIT.

Test automation with Selenium relies on a unit testing framework.

The question is which unit testing framework is the best tool to use for test automation: JUNIT or TestNG?


This ebook goes through the following unit testing functionalities and looks at how they are
implemented both in JUNIT and TEST NG.

1. Run Failed Tests
2. Generate a Test Report
3. Run a Test Script Multiple Times
4. Soft Assertions
5. Dependent Test Scripts
6. Test Scripts with Parameters
7. Class Level Annotations
8. Page Factories
9. Before/After Annotations
10. Configure Test Execution with the TESTNG.XML file
11. No Static WebDriver object


Interested in the ebook?

Transfer USD 7 to alex@alexsiminiuc.com through Paypal and I will send it to you.

1 Response to "TestNG Benefits For Test Automation - ebook"

  1. Very Good Information!! Thanks a lot for your efforts!

    Really it will be helpful for both beginners and experienced professional. Your information is very clear.

    Along with your post, I put my input here.

    There are number of benefits but from Selenium perspective, major advantages of TestNG are :

    It gives the ability to produce HTML Reports of execution
    Annotations made testers life easy
    Test cases can be Grouped & Prioritized more easily
    Parallel testing is possible
    Generates Logs
    Data Parameterization is possible

    I will appreciate if you can take a few minutes to provide your feedback for the same, it would be a great help!!
    Best Selenium Training

    Thanks a lot!!

    ReplyDelete