InterviewSolution
| 1. |
What is TestNG, what are the benefits of it? |
|
Answer» TestNG is an open-source testing framework inspired by JUnit and NUnit but presenting some new functionality that makes it simply easy, effortless, and powerful to use where NG of TestNG stands for Next Generation. It is same as JUnit but it is more robust than JUnit. To make execution more efficient and powerful more functionality is added. It is very much DATA-Driven but is powerful than JUnit. Most of the negative TRAITS of the older framework are removed from TestNG and it gives developers the ability to write more FLEXIBLE and powerful tests with the help of annotations, grouping, sequencing and parameterizing. Advantages of TestNG are -
|
|