power_settings_new
JUnit5 or TestNG: which is a better choice for Selenium Webdriver in Java projects?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

by (171 points)
0 votes
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.
add
...