Note: This page shows how to install older releases of Scalactic. For the latest release, visit the Installing Scalactic page.

 

Older Releases of Scalactic


Scalactic 3.0.4 (for Scala 2.10.0+, 2.11.0+, and 2.12.0+)

The Scalactic 3.0.4 artifacts are available via the Sonatype OSS Maven repository and mirrored on Maven central.


To include Scalactic 3.0.4 in your sbt project:

1. Add these lines to your build file:

libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.4"

2. We also recommend you also include the SuperSafe Community Edition Scala compiler plugin, which will flag errors in your Scalactic code at compile time, by first adding this line to ~/.sbt/0.13/global.sbt:

resolvers += "Artima Maven Repository" at "http://repo.artima.com/releases"

3. Then adding the following line to project/plugins.sbt:

addSbtPlugin("com.artima.supersafe" % "sbtplugin" % "1.1.12")

You are off and running! As a next step, visit the Getting Started section of the user guide.


To include Scalactic 3.0.4 in your Maven project:

1. Add the following dependencies to your pom.xml:

<dependency>
  <groupId>org.scalactic</groupId>
  <artifactId>scalactic_2.12</artifactId>
  <version>3.0.4</version>
</dependency>

2. We also recommend you also include the SuperSafe Community Edition Scala compiler plugin, which will flag errors in your Scalactic code at compile time, by adding the following lines to your pom.xml:

<repositories>
    <repository>
        <id>artima</id>
        <name>Artima Maven Repository</name>
        <url>http://repo.artima.com/releases</url>
    </repository>
</repositories>
<plugin>
    <groupId>net.alchim31.maven</groupId>
    <artifactId>scala-maven-plugin</artifactId>
    <configuration>
        <compilerPlugins>
            <compilerPlugin>
                <groupId>com.artima.supersafe</groupId>
                <artifactId>supersafe_2.12.3</artifactId>
                <version>1.1.12</version>
            </compilerPlugin>
        </compilerPlugins>
    </configuration>
    <executions>
        ...
    </executions>
</plugin>

Note: You need to use the exact Scala version in the artifactId, because compiler plugin depends on compiler API that's not binary compatible between Scala minor releases.

You are off and running! As a next step, visit the Getting Started section of the user guide.


If you don't have it already, you'll also need Scala. You can use any 2.10, 2.11, or 2.12 release, which you can get from here:


Scalactic 3.0.3 (for Scala 2.10.0+, 2.11.0+, and 2.12.0+)

The Scalactic 3.0.3 artifacts are available via the Sonatype OSS Maven repository and mirrored on Maven central.


To include Scalactic 3.0.3 in your sbt project:

1. Add these lines to your build file:

libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.3"

2. We also recommend you also include the SuperSafe Community Edition Scala compiler plugin, which will flag errors in your Scalactic code at compile time, by first adding this line to ~/.sbt/0.13/global.sbt:

resolvers += "Artima Maven Repository" at "http://repo.artima.com/releases"

3. Then adding the following line to project/plugins.sbt:

addSbtPlugin("com.artima.supersafe" % "sbtplugin" % "1.1.12")

You are off and running! As a next step, visit the Getting Started section of the user guide.


To include Scalactic 3.0.3 in your Maven project:

1. Add the following dependencies to your pom.xml:

<dependency>
  <groupId>org.scalactic</groupId>
  <artifactId>scalactic_2.12</artifactId>
  <version>3.0.3</version>
</dependency>

2. We also recommend you also include the SuperSafe Community Edition Scala compiler plugin, which will flag errors in your Scalactic code at compile time, by adding the following lines to your pom.xml:

<repositories>
    <repository>
        <id>artima</id>
        <name>Artima Maven Repository</name>
        <url>http://repo.artima.com/releases</url>
    </repository>
</repositories>
<plugin>
    <groupId>net.alchim31.maven</groupId>
    <artifactId>scala-maven-plugin</artifactId>
    <configuration>
        <compilerPlugins>
            <compilerPlugin>
                <groupId>com.artima.supersafe</groupId>
                <artifactId>supersafe_2.12.3</artifactId>
                <version>1.1.12</version>
            </compilerPlugin>
        </compilerPlugins>
    </configuration>
    <executions>
        ...
    </executions>
</plugin>

Note: You need to use the exact Scala version in the artifactId, because compiler plugin depends on compiler API that's not binary compatible between Scala minor releases.

You are off and running! As a next step, visit the Getting Started section of the user guide.


If you don't have it already, you'll also need Scala. You can use any 2.10, 2.11, or 2.12 release, which you can get from here:


Scalactic 3.0.2 (for Scala 2.10.0+, 2.11.0+, and 2.12.0+)

The Scalactic 3.0.2 artifacts are available via the Sonatype OSS Maven repository and mirrored on Maven central.


To include Scalactic 3.0.2 in your sbt project:

1. Add these lines to your build file:

libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.2"

2. We also recommend you also include the SuperSafe Community Edition Scala compiler plugin, which will flag errors in your Scalactic code at compile time, by first adding this line to ~/.sbt/0.13/global.sbt:

resolvers += "Artima Maven Repository" at "http://repo.artima.com/releases"

3. Then adding the following line to project/plugins.sbt:

addSbtPlugin("com.artima.supersafe" % "sbtplugin" % "1.1.12")

You are off and running! As a next step, visit the Getting Started section of the user guide.


To include Scalactic 3.0.2 in your Maven project:

1. Add the following dependencies to your pom.xml:

<dependency>
  <groupId>org.scalactic</groupId>
  <artifactId>scalactic_2.12</artifactId>
  <version>3.0.2</version>
</dependency>

2. We also recommend you also include the SuperSafe Community Edition Scala compiler plugin, which will flag errors in your Scalactic code at compile time, by adding the following lines to your pom.xml:

<repositories>
    <repository>
        <id>artima</id>
        <name>Artima Maven Repository</name>
        <url>http://repo.artima.com/releases</url>
    </repository>
</repositories>
<plugin>
    <groupId>net.alchim31.maven</groupId>
    <artifactId>scala-maven-plugin</artifactId>
    <configuration>
        <compilerPlugins>
            <compilerPlugin>
                <groupId>com.artima.supersafe</groupId>
                <artifactId>supersafe_2.12.3</artifactId>
                <version>1.1.12</version>
            </compilerPlugin>
        </compilerPlugins>
    </configuration>
    <executions>
        ...
    </executions>
</plugin>

Note: You need to use the exact Scala version in the artifactId, because compiler plugin depends on compiler API that's not binary compatible between Scala minor releases.

You are off and running! As a next step, visit the Getting Started section of the user guide.


If you don't have it already, you'll also need Scala. You can use any 2.10, 2.11, or 2.12 release, which you can get from here:


Scalactic 3.0.1 (for Scala 2.10.0+, 2.11.0+, and 2.12.0+)

The Scalactic 3.0.1 artifacts are available via the Sonatype OSS Maven repository and mirrored on Maven central.


To include Scalactic 3.0.1 in your sbt project:

1. Add these lines to your build file:

libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.1"

2. We also recommend you also include the SuperSafe Community Edition Scala compiler plugin, which will flag errors in your Scalactic code at compile time, by first adding this line to ~/.sbt/0.13/global.sbt:

resolvers += "Artima Maven Repository" at "http://repo.artima.com/releases"

3. Then adding the following line to project/plugins.sbt:

addSbtPlugin("com.artima.supersafe" % "sbtplugin" % "1.1.12")

You are off and running! As a next step, visit the Getting Started section of the user guide.


To include Scalactic 3.0.1 in your Maven project:

1. Add the following dependencies to your pom.xml:

<dependency>
  <groupId>org.scalactic</groupId>
  <artifactId>scalactic_2.12</artifactId>
  <version>3.0.1</version>
</dependency>

2. We also recommend you also include the SuperSafe Community Edition Scala compiler plugin, which will flag errors in your Scalactic code at compile time, by adding the following lines to your pom.xml:

<repositories>
    <repository>
        <id>artima</id>
        <name>Artima Maven Repository</name>
        <url>http://repo.artima.com/releases</url>
    </repository>
</repositories>
<plugin>
    <groupId>net.alchim31.maven</groupId>
    <artifactId>scala-maven-plugin</artifactId>
    <configuration>
        <compilerPlugins>
            <compilerPlugin>
                <groupId>com.artima.supersafe</groupId>
                <artifactId>supersafe_2.12.3</artifactId>
                <version>1.1.12</version>
            </compilerPlugin>
        </compilerPlugins>
    </configuration>
    <executions>
        ...
    </executions>
</plugin>

Note: You need to use the exact Scala version in the artifactId, because compiler plugin depends on compiler API that's not binary compatible between Scala minor releases.

You are off and running! As a next step, visit the Getting Started section of the user guide.


If you don't have it already, you'll also need Scala. You can use any 2.10, 2.11, or 2.12 release, which you can get from here:


Scalactic 2.2.6 (for Scala 2.10.0+, 2.11.0+, and 2.12.0+)

The Scalactic 2.2.6 artifacts are available via the Sonatype OSS Maven repository and mirrored on Maven central.

To include Scalactic 2.2.6 in your sbt project:

1. Add these lines to your build file:

libraryDependencies += "org.scalactic" %% "scalactic" % "2.2.6"

2. We also recommend you also include the SuperSafe Community Edition Scala compiler plugin, which will flag errors in your Scalactic code at compile time, by first adding this line to ~/.sbt/0.13/global.sbt:

resolvers += "Artima Maven Repository" at "http://repo.artima.com/releases"

3. Then adding the following line to project/plugins.sbt:

addSbtPlugin("com.artima.supersafe" % "sbtplugin" % "1.1.0-RC6")

You are off and running! As a next step, visit the Getting Started section of the user guide.

To include Scalactic 2.2.6 in your Maven project:

1. Add the following dependencies to your pom.xml:

<dependency>
  <groupId>org.scalactic</groupId>
  <artifactId>scalactic_2.11</artifactId>
  <version>2.2.6</version>
</dependency>

2. We also recommend you also include the SuperSafe Community Edition Scala compiler plugin, which will flag errors in your Scalactic code at compile time, by adding the following lines to your pom.xml:

<repositories>
    <repository>
        <id>artima</id>
        <name>Artima Maven Repository</name>
        <url>http://repo.artima.com/releases</url>
    </repository>
</repositories>
<plugin>
    <groupId>net.alchim31.maven</groupId>
    <artifactId>scala-maven-plugin</artifactId>
    <configuration>
        <compilerPlugins>
            <compilerPlugin>
                <groupId>com.artima.supersafe</groupId>
                <artifactId>supersafe_2.11.7</artifactId>
                <version>1.1.0-RC6</version>
            </compilerPlugin>
        </compilerPlugins>
    </configuration>
    <executions>
        ...
    </executions>
</plugin>

Note: You need to use the exact Scala version in the artifactId, because compiler plugin depends on compiler API that's not binary compatible between Scala minor releases.

You are off and running! As a next step, visit the Getting Started section of the user guide.

If you don't have it already, you'll also need Scala. You can use any 2.10 or 2.11 release, which you can get from here:


Scalactic 2.2.4 (for Scala 2.11.0+ and 2.10.0+) is available at Sonatype OSS Maven repository (which is mirrored on the central Maven repository as well).

For a list of the changes in this release, see the release notes. For detailed documentation, see the Scalactic 2.2.4 Scaladoc.

Scalactic is a small library of utilities released as part of the ScalaTest project that are useful in production both code and tests. For every release of ScalaTest, there is a corresponding release of Scalactic with the same version number. Thus if you use both Scalactic and ScalaTest in the same project, you should make sure the version numbers match.

A copy of Scalactic is included in ScalaTest's jar file, so if you are using ScalaTest as your test framework, you need not include a copy of Scalactic in your test class path. If you want to use use Scalactic in your production code, or in your tests when using a test framework other than ScalaTest, you'll need to add it explicitly to your class path. Here is the information for including Scalactic in your project:

  • group id: org.scalactic
  • artifact id: scalactic_2.10 or scalactic_2.11
  • version: 2.2.4

Here's the code for your Maven POM (for Scala 2.11.0+):

<dependency>
<groupId>org.scalactic</groupId>
<artifactId>scalactic_2.11</artifactId>
<version>2.2.4</version>
</dependency>

And for sbt, version 0.10 or higher (for Scala 2.11.0+):

    libraryDependencies += "org.scalactic" % "scalactic_2.11" % "2.2.4"

Alternatively you can just download Jar files for the library and Scaladoc documentation by hand from Sonatype. The artifacts tagged with 2.11 can be used with any 2.11.x release. Jar files are valid zip files, so to access the Scaladoc documentation just unzip the Jar file. The Scaladoc Jars do not contain a top-level directory, however, so you should unzip them in an empty directory.

For Scala 2.11.x:

If you don't have it already, you'll also need Scala. You can use any 2.10 or 2.11 release, which you can get from here:


Scalactic 2.2.2 (for Scala 2.11.0+ and 2.10.0+) is available at Sonatype OSS Maven repository (which is mirrored on the central Maven repository as well).

For a list of the changes in this release, see the release notes. For detailed documentation, see the Scalactic 2.2.2 Scaladoc.

Scalactic is a small library of utilities released as part of the ScalaTest project that are useful in production both code and tests. For every release of ScalaTest, there is a corresponding release of Scalactic with the same version number. Thus if you use both Scalactic and ScalaTest in the same project, you should make sure the version numbers match.

A copy of Scalactic is included in ScalaTest's jar file, so if you are using ScalaTest as your test framework, you need not include a copy of Scalactic in your test class path. If you want to use use Scalactic in your production code, or in your tests when using a test framework other than ScalaTest, you'll need to add it explicitly to your class path. Here is the information for including Scalactic in your project:

  • group id: org.scalactic
  • artifact id: scalactic_2.10 or scalactic_2.11
  • version: 2.2.2

Here's the code for your Maven POM (for Scala 2.11.0+):

<dependency>
<groupId>org.scalactic</groupId>
<artifactId>scalactic_2.11</artifactId>
<version>2.2.2</version>
</dependency>

And for sbt, version 0.10 or higher (for Scala 2.11.0+):

    libraryDependencies += "org.scalactic" % "scalactic_2.11" % "2.2.2"

Alternatively you can just download Jar files for the library and Scaladoc documentation by hand from Sonatype. The artifacts tagged with 2.11 can be used with any 2.11.x release. Jar files are valid zip files, so to access the Scaladoc documentation just unzip the Jar file. The Scaladoc Jars do not contain a top-level directory, however, so you should unzip them in an empty directory.

For Scala 2.11.x:

If you don't have it already, you'll also need Scala. You can use any 2.10 or 2.11 release, which you can get from here:


Scalactic 2.2.1 (for Scala 2.11.0+ and 2.10.0+) is available at Sonatype OSS Maven repository (which is mirrored on the central Maven repository as well).

For a list of the changes in this release, see the release notes. For detailed documentation, see the Scalactic 2.2.1 Scaladoc.

Scalactic is a small library of utilities released as part of the ScalaTest project that are useful in production both code and tests. For every release of ScalaTest, there is a corresponding release of Scalactic with the same version number. Thus if you use both Scalactic and ScalaTest in the same project, you should make sure the version numbers match.

A copy of Scalactic is included in ScalaTest's jar file, so if you are using ScalaTest as your test framework, you need not include a copy of Scalactic in your test class path. If you want to use use Scalactic in your production code, or in your tests when using a test framework other than ScalaTest, you'll need to add it explicitly to your class path. Here is the information for including Scalactic in your project:

  • group id: org.scalactic
  • artifact id: scalactic_2.10 or scalactic_2.11
  • version: 2.2.1

Here's the code for your Maven POM (for Scala 2.11.0+):

<dependency>
<groupId>org.scalactic</groupId>
<artifactId>scalactic_2.11</artifactId>
<version>2.2.1</version>
</dependency>

And for sbt, version 0.10 or higher (for Scala 2.11.0+):

    libraryDependencies += "org.scalactic" % "scalactic_2.11" % "2.2.1"

Alternatively you can just download Jar files for the library and Scaladoc documentation by hand from Sonatype. The artifacts tagged with 2.11 can be used with any 2.11.x release. Jar files are valid zip files, so to access the Scaladoc documentation just unzip the Jar file. The Scaladoc Jars do not contain a top-level directory, however, so you should unzip them in an empty directory.

For Scala 2.11.x:

If you don't have it already, you'll also need Scala. You can use any 2.10 or 2.11 release, which you can get from here:


Scalactic 2.2.0 (for Scala 2.11.0+ and 2.10.0+) is available at Sonatype OSS Maven repository (which is mirrored on the central Maven repository as well).

For a list of the changes in this release, see the release notes. For detailed documentation, see the Scalactic 2.2.0 Scaladoc.

Scalactic is a small library of utilities released as part of the ScalaTest project that are useful in production both code and tests. For every release of ScalaTest, there is a corresponding release of Scalactic with the same version number. Thus if you use both Scalactic and ScalaTest in the same project, you should make sure the version numbers match.

A copy of Scalactic is included in ScalaTest's jar file, so if you are using ScalaTest as your test framework, you need not include a copy of Scalactic in your test class path. If you want to use use Scalactic in your production code, or in your tests when using a test framework other than ScalaTest, you'll need to add it explicitly to your class path. Here is the information for including Scalactic in your project:

  • group id: org.scalactic
  • artifact id: scalactic_2.10 or scalactic_2.11
  • version: 2.2.0

Here's the code for your Maven POM (for Scala 2.11.0+):

<dependency>
<groupId>org.scalactic</groupId>
<artifactId>scalactic_2.11</artifactId>
<version>2.2.0</version>
</dependency>

And for sbt, version 0.10 or higher (for Scala 2.11.0+):

    libraryDependencies += "org.scalactic" % "scalactic_2.11" % "2.2.0"

Alternatively you can just download Jar files for the library and Scaladoc documentation by hand from Sonatype. The artifacts tagged with 2.11 can be used with any 2.11.x release. Jar files are valid zip files, so to access the Scaladoc documentation just unzip the Jar file. The Scaladoc Jars do not contain a top-level directory, however, so you should unzip them in an empty directory.

For Scala 2.11.x:

If you don't have it already, you'll also need Scala. You can use any 2.10 or 2.11 release, which you can get from here:

Scalactic is brought to you by Bill Venners, with contributions from several other folks. It is sponsored by Artima, Inc.
ScalaTest is free, open-source software released under the Apache 2.0 license.

Copyright © 2009-2024 Artima, Inc. All Rights Reserved.

artima