Last active
July 13, 2017 16:11
-
-
Save timothyshort/855b688aac0f15e4f1d2249fc765a305 to your computer and use it in GitHub Desktop.
Maven's POM.xml file for TestNG, JUnit, Selenium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- ADD PROJECT DEPENDENCIES --> | |
<dependencies> | |
<dependency> | |
<groupId>org.testng</groupId> | |
<artifactId>testng</artifactId> | |
<version>6.10</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.12</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.seleniumhq.selenium</groupId> | |
<artifactId>selenium-java</artifactId> | |
<version>3.4.0</version> | |
</dependency> | |
</dependencies> | |
<!-- ADD PROJECT PLUGINS --> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.6.0</version> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.19</version> | |
<configuration> | |
<suiteXmlFiles> | |
<!-- NAME OF XML SUITE FILE --> | |
<suiteXmlFile>testng.xml</suiteXmlFile> | |
</suiteXmlFiles> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment