scalatest

org.scalatest : scalatest_2.12

scalatest

[Website] ·
6.9k usages
· 992 stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>org.scalatest</groupId>
    <artifactId>scalatest_2.12</artifactId>
    <version>3.3.0-SNAP3</version>
</dependency>

How to add dependency in a project

  1. Add dependency to a Maven project
  2. Add dependency to a Gradle project
  3. Add dependency to a SBT Scala project
  4. Add dependency to a Grape project

1. Add dependency to a Maven project

Maven: Add the org.scalatest:scalatest_2.12 library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.scalatest</groupId>
  <artifactId>scalatest_2.12</artifactId>
  <version>3.3.0-SNAP3</version>
</dependency>
</dependencies>

To install org.scalatest:scalatest_2.12 library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.scalatest:scalatest_2.12 library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.scalatest:scalatest_2.12:3.3.0-SNAP3'
}

Gradle Kotlin DSL: Add the org.scalatest:scalatest_2.12 library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.scalatest:scalatest_2.12:3.3.0-SNAP3")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.scalatest:scalatest_2.12 library to your build.sbt file:

libraryDependencies += "org.scalatest" % "scalatest_2.12" % "3.3.0-SNAP3"

4. Add dependency to a Grape project

Grape: Add an annotation org.scalatest:scalatest_2.12 library to your groovy script file:

@Grapes(
    @Grab('org.scalatest:scalatest_2.12:3.3.0-SNAP3')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (1)

Group / Artifact Usage
org.scala-lang » scala-compiler 5,144

Test Dependencies (0)

Group / Artifact Usage