Frage im Vorstellungsgespräch bei Oracle

TestNG: Why TestNG better than JUnit?

Antwort im Vorstellungsgespräch

Anonym

29. März 2018

TestNG provides parallel execution of test methods It allows to define dependency of one test method over other methods It allows assigning priority to test methods It allows grouping of test methods into test groups It has support for parameterizing test cases using @Parameters annotation It allows data-driven testing using @DataProvider annotation It has different assertions that help in checking the expected and actual results Detailed (HTML) reports