I want to know that what's the difference between NG and Junit and which one is best for automation in Selenium Webdriver. Please explain with example

有帮助吗?

解决方案

My recommendation is Testng because, click here the Advantages of Testng & Advantages of TestNG over Junit. also check this

其他提示

On a rough note... TestNG is nothing but Junit along with some extra features like Reports and some annotations. If you are least bothered about the test execution reports, you can go with Junit. If you need html reports you can go with TestNG.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top