Which one is better Junit or TestNG framework?

Which one is better Junit or TestNG framework?

Default Asked on February 18, 2015 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)

    Hello Shashank,

    TestNG is an open source framework. It supports parametrization, data driven testing, parallel execution. JUnit is not much flexible for these.

    Before I was fan of Junit but after using TestNG I felt TestNG is better for selenium.

    Please go through this link.

    TestNG: http://testng.org/doc/index.html

    Vice Professor Answered on February 24, 2015.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.