EVERYTHING XIAOMI
Get listed

ScalaTest

ScalaTest is a testing tool for Scala, Scala.js, Scala Native, Dotty (Scala 3), and Java code.

Place
#9 of 32
Score
6.5
ScalaTest's website

What ScalaTest is

ScalaTest is a testing tool for Scala, Scala.js, Scala Native, Dotty (Scala 3), and Java code. It offers several testing styles, so teams can choose an approach that fits their experience and culture. Its core components can be extended and combined for different project requirements. 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, but built-in mocks are not. Listed integrations include JUnit, TestNG, Ant, Maven, sbt, ScalaCheck, JMock, EasyMock, Mockito, ScalaMock, Selenium, Eclipse, NetBeans, and IntelliJ. ScalaTest Plus adds integration libraries for Play, Selenium, ScalaCheck, JUnit 4 and 5, TestNG, EasyMock, JMock, and Mockito. Dependency instructions are provided for sbt and Maven. ScalaTest is free and open source under Apache 2.0; the recommended SuperSafe Community Edition plugin supports Scala 2.x, not Scala 3.x.

Good

  • Supports Scala, Scala.js, Scala Native, Dotty, and Java
  • Offers multiple testing styles
  • Includes matchers for collections and properties
  • Supports parameterized cases and parallel execution
  • Free under Apache 2.0

Watch out

  • Built-in mocks are not included
  • SuperSafe Community Edition 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 integrations. Teams using Scala 3 should note the stated SuperSafe plugin limitation.

Verdict

ScalaTest provides broad assertion, matcher, and integration options for Scala-family and Java projects. Its free Apache 2.0 license and stated Scala 3 plugin limitation are worth weighing against project needs.

Plans and prices

From ScalaTest's own pricing page, checked 7 Oct 2026.

All about pricing
PlanPriceWhat it gives you
ScalaTestFreeFree, open-source software · Apache 2.0 license

The facts

Each one read from ScalaTest's own pages, with the date it was checked.

What it does

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

The company

Founded
2007checked 28 Sep 2026

Alternatives to ScalaTest

All alternatives
  1. 1QUnit logo

    QUnit

    Free planAndroidiOSWebAPI
    7.4Free plan
  2. 2NUnit logo

    NUnit

    Free planAndroidiOSAPILinux
    6.8Free plan
  3. 3

    Kotest

    Free planAndroidiOSWebLinux
    6.7Free plan
  4. 4PHPUnit logo

    PHPUnit

    Free planLinuxmacOSSelf-hostedWindows
    6.6Free plan
  5. 5Vitest logo

    Vitest

    Free planWebLinuxmacOSWindows
    6.6Free plan
  6. 6Boost.Test logo

    Boost.Test

    Free planLinuxWindows
    6.5Free plan