Skip to content
SPECIFICTION
Get listed

ScalaTest

scalatest.org

Free plan WebWindowsmacOSLinuxSelf-hosted
Visit scalatest.org
Spec score 7.7 #14 of 32 in Unit Testing

What it is

ScalaTest is a testing tool for Scala, Scala.js, Scala Native, Dotty (Scala 3), and Java code. It offers several testing styles, and its core components can be extended and combined for projects with particular requirements. Documented assertion helpers include assert, assertResult, intercept, compile checks, cancellation, and clues that add context to failure messages. Matchers cover equality, exceptions, strings and regular expressions, ranges, properties, and Scala and Java collections. Parameterized cases, parallel execution, and property-based checks are supported; built-in mocks are not. Integrations listed by the project include JUnit, TestNG, Ant, Maven, sbt, ScalaCheck, JMock, EasyMock, Mockito, ScalaMock, Selenium, Eclipse, NetBeans, and IntelliJ. ScalaTest Plus provides integration libraries for Play, Selenium, ScalaCheck, JUnit 4 and 5, TestNG, EasyMock, JMock, and Mockito. Installation instructions cover sbt and Maven, with release artifacts available through Sonatype OSS and mirrored on Maven Central. ScalaTest is free and open source under the Apache 2.0 license. The recommended SuperSafe Community Edition compiler plugin supports Scala 2.x, but not Scala 3.x.

Spec sheet

Purpose
ScalaTest is a testing tool for Scala, Scala.js, Scala Native, Dotty (Scala 3), and Java code.Read 7 Oct 2026 · scalatest.org
Integrations
The site lists integrations with JUnit, TestNG, Ant, Maven, sbt, ScalaCheck, JMock, EasyMock, Mockito, ScalaMock, Selenium, Eclipse, NetBeans, and IntelliJ.Read 7 Oct 2026 · scalatest.org
Support
The About page directs users to the scalatest-users mailing list and ScalaTest Forum for help, and GitHub for issue reporting.Read 7 Oct 2026 · scalatest.org
Founded
2007Read 28 Sep 2026 · scalatest.org
Assertions
The documented assertion helpers include assert, assertResult, intercept, compile checks, cancellation, and clues for failure messages.Read 7 Oct 2026 · scalatest.org
Compatibility limit
The install page says the recommended SuperSafe Community Edition compiler plugin supports Scala 2.x and does not support Scala 3.x.Read 7 Oct 2026 · scalatest.org
Current release
The install page identifies ScalaTest and Scalactic 3.2.20 as the latest release for Scala 2.10.0+, 2.11.0+, 2.12.0+, 2.13.0+, and 3.1.0+.Read 7 Oct 2026 · scalatest.org
Extensible
Its core components can be extended and composed to address special requirements and projects of different sizes.Read 7 Oct 2026 · scalatest.org
History
The About page says ScalaTest development began in late 2007 and names Bill Venners, George Berger, Chua Chee Seng, and other contributors.Read 7 Oct 2026 · scalatest.org
Install
The site provides dependency instructions for sbt and Maven and says release artifacts are available through Sonatype OSS and mirrored on Maven Central.Read 7 Oct 2026 · scalatest.org
Matchers
The documented matchers cover equality, exceptions, strings and regular expressions, ranges, properties, and Scala and Java collections.Read 7 Oct 2026 · scalatest.org
ScalaTest Plus
ScalaTest Plus provides integration libraries for Play, Selenium, ScalaCheck, JUnit 4 and 5, TestNG, EasyMock, JMock, and Mockito.Read 7 Oct 2026 · scalatest.org
Security and compliance
ScalaTest is released under the Apache 2.0 license; the maker pages opened did not state security certifications or compliance standards.Read 7 Oct 2026 · scalatest.org
Testing styles
It offers several testing styles so teams can choose one that fits their experience and culture.Read 7 Oct 2026 · scalatest.org

Plans and prices

ScalaTest Free Free, open-source software · Apache 2.0 license Read 7 Oct 2026 · scalatest.org

Every ScalaTest plan and price →

Strong points and limits

Strong points

  • Supports Scala, Scala.js, Scala Native, Dotty, and Java
  • Parameterized cases and parallel execution are supported
  • Matchers cover collections, properties, exceptions, and more
  • Free under the Apache 2.0 license

Limits

  • Built-in mocks are not included
  • Recommended SuperSafe plugin does not support Scala 3.x

Who it suits

ScalaTest suits developers and teams writing tests for Scala-family languages or Java who want a choice of testing styles and broad listed integrations.

Verdict

ScalaTest offers a wide testing toolkit and integration list at no charge. Teams considering the recommended SuperSafe plugin should note its Scala 2.x compatibility limit.

Where Specifiction places it

Alternatives to ScalaTestAll alternatives →