Testng installation and use

1. Eclipse integrated TestNG plug-in

  a. Download the TestNG offline plug-in and unzip it to get two folders of features and plugins;

  b. Put the file under the features Copy org.testng.eclipse_6.9.8.201510130443 to the D:\eclipse\features directory;

  c. Copy org.testng.eclipse_6.9.8.201510130443 under the plugins file to D:\eclipse\ plugins directory;

  Note: restart Eclipse, windows=”preferences=”TestNG

2, import testNG dependency package

  a. Enter the maven central warehouse address : Https://mvnrepository.com/

  share picture

  b. pom.xml configuration under the Maven project

  share picture

3. After the configuration is complete, create a new TestNGDemo

share picture

share picture

4 ,slightly!

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2235 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.