Introduction Of TestNG - Unit Testing Framework For Selenium WebDriver

TestNG is unit of measurement testing framework as well as it has been most pop inwards really variety fourth dimension with coffee software developers and selenium webdriver software automation examination engineers. I tin say, TestNG has non exclusively almost of all the features of JUnit but also many to a greater extent than advanced features inwards damage of selenium webdriver testing framework. Basically,
TestNG's software unit of measurement testing framework evolution is inspired from combination of NUnit as well as JUnit. You tin VIEW SIMILARITIES AND DIFFERENCES betwixt TestNG as well as JUnit.

TestNG Major Features
  • TestNG has a built inwards multiple Before as well as After as well as other annotations like @BeforeSuite, @AfterSuite, @BeforeTest, @BeforeGroups, @DataProvider, @Parameters, @Test etc.. All the TestNG annotations are really slow to empathize as well as implement. We volition await each as well as every notation with detailed description inwards my latter posts.
  • We tin configure subject examination methods inwards TestNG way TestTwo() is subject to TestOne(). We tin also configure that if before examination method (TestOne()) fails during execution as well as thence subject software examination method(TestTwo()) has to move executed or not.
  • There is non required to extend whatsoever shape inwards TestNG.
  • We tin configure our examination suite using examination methods, classes, packages, groups, etc.. in unmarried testng.xml file.
  • Support of configuring examination groups similar backendtest-group, frontendtest-group etc.. as well as nosotros tin state TestNG to execute exclusively specific group/groups.
  • TestNG is supported yesteryear many tools as well as plug-ins like Eclipse, Maven, IDEA, etc..
  • TestNG support parallel testing, Parameterization (Passing parameters values through XML configuration), Data Driven Testing(executing same examination method multiple times using dissimilar data) .
  • TestNG has built in HTML written report as well as XML written report generation facility. It has also built inwards  logging facility.
VIEW MORE TESTNG TUTORIALS

All these are major features of TestNG software unit of measurement testing framework and about of them are available inwards JUnit too. I recommend y'all to piece of job  TestNG framework with WebDriver examination because at that spot are many useful features available inwards it compared to JUnit. Read my latter posts to larn TestNG framework with its detailed features.

More interesting articles here :Generation Enggelmundus Internet Marketing Tool here :Zeageat IM http://www.software-testing-tutorials-automation.com/
Post a Comment (0)
Previous Post Next Post