Skip to content

EasyTest : Getting Started | Maven Dependency

Anuj Kumar edited this page Aug 16, 2013 · 7 revisions

In order to get up and running with EasyTest quickly, you need to have EasyTest as a JAR dependency in your project. EasyTest is available in the Maven Sonatype as well as Central repository. You need to perform the following steps:

Update your Maven's settings.xml file (this is optional and if you do not have this then the JAR will be fetched from Maven Central Repository)

Update your Maven's settings.xml file to include the repository for Sonatype. The easiest way to do it is copy and paste the following inside your settings.xml file's <profiles> tag:

<profile>        
    <id>Sonatype</id>
      <repositories>
        <repository>
          <id>Sonatype</id>
          <url>https://oss.sonatype.org/content/repositories/releases/</url>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </repository>
        <repository>
          <id>Sonatype snapshots</id>
          <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
          <releases>
            <enabled>false</enabled>
          </releases>
        </repository>
      </repositories>
      
</profile>

Download the EasyTest framework from Maven Central repository like this:

<dependency>
 <groupId>org.easetech</groupId> 
 <artifactId>easytest-core</artifactId> 
 <version>1.2.1</version>
</dependency>

And you will be ready to use EasyTest within your project.