Java unit testing - TestNG

  • Official website
  • TestNG Eclipse plug-ins installed
  • Compared with Junit
    • Evolved from Junit, Junit developer is a group of people
    • Test Suite is no longer required hard-coded, like automatic login script cf's like, you can write to a xml file
  • STS or Eclipse plug-in needs to be installed TestNG
    • Looks like installing online sites often can not be used, drag the Install button from eclipse to eclipse the same site often can not be used, the agent may be other issues. You can install offline, go http://beust.com/eclipse download
    • After installing the plug-in, you can Run As or Debug As TestNG up. And can> Other create TestNG unit test file by New-

Guess you like

Origin www.cnblogs.com/wyp1988/p/11083558.html