Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
483 views
by The go-to Tester (391 points)
JUnit5 or TestNG: which is a better choice for Selenium Webdriver in Java projects?

1 Answer

0 like 0 dislike
by The go-to Tester (181 points)
At this point of time, I would suggest TestNG is batter choice. Since TestNG allows you to have test suite defined via XML file, which can be easily used with your CI.

It even allows parameterisation and parallel execution with different parameters. So TestNG is much more easy to implement, and easy to Manage.

 

P.S.: I have not used JUnit5 yet. All above are from my peers.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...