ScalaTest VS ScalaCheck

Compare ScalaTest vs ScalaCheck and see what are their differences.

ScalaTest

A testing tool for Scala and Java developers (by scalatest)

ScalaCheck

Property-based testing for Scala (by typelevel)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
ScalaTest ScalaCheck
0 2
1,056 1,820
0.9% 0.1%
8.7 8.2
6 days ago 11 days ago
Scala Scala
Apache License 2.0 BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ScalaTest

Posts with mentions or reviews of ScalaTest. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning ScalaTest yet.
Tracking mentions began in Dec 2020.

ScalaCheck

Posts with mentions or reviews of ScalaCheck. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-10.
  • Friction-less scala - Tell us what is causing friction in your day-to-day life with Scala
    14 projects | reddit.com/r/scala | 10 Aug 2021
    And the readmes and tutorials written for the major libraries are some of the best, and most concise out there. Seriously, even the old stuff, like scalacheck's guide is really good. Compare that to hypothesis. The hypothesis uses readthedocs, but other than the window dressing, much better. Try to find similar concise guides for major Java projects outside of spring boot. They're all external to the projects, published on Baeldung.
  • I’m really struggling with testing using Scalatest.
    1 project | reddit.com/r/scala | 7 Feb 2021
    Write your test as properties that must be held, and let the framework generate random values and apply the function to thus values and compare the output by those properties. Take a look to ScalaCheck for that approach.

What are some alternatives?

When comparing ScalaTest and ScalaCheck you can also consider the following projects:

Specs2 - Software Specifications for Scala

scalaprops - property based testing library for Scala

Gatling - Modern Load Testing as Code

Scalaz - Principled Functional Programming in Scala

cats - Lightweight, modular, and extensible library for functional programming.

ScalaMeter - Microbenchmarking and performance regression testing framework for the JVM platform.

Nyaya - Random Data Generation and/or Property Testing in Scala & Scala.JS.

ScalaMock - Native Scala mocking framework

Testcontainers-scala - The project repository has moved to https://github.com/testcontainers/testcontainers-scala

Mockito Scala - Mockito for Scala language