Simulacrum VS ScalaCheck

Compare Simulacrum vs ScalaCheck and see what are their differences.

Simulacrum

First class syntax support for type classes in Scala (by typelevel)

ScalaCheck

Property-based testing for Scala (by typelevel)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
Simulacrum ScalaCheck
1 2
922 1,774
-0.2% 0.7%
4.6 8.3
26 days ago 7 days ago
Scala Scala
GNU General Public License v3.0 or later 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.

Simulacrum

Posts with mentions or reviews of Simulacrum. 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
    The Cats ecosystem offers mature named abstractions providing algebraic laws virtually identical to those offered by Haskell and PureScript and that have stood the test of time, at the cost of relying on a "design pattern" approach to implementation you have to squint a bit to see ("typeclasses" based on higher-kinded types and implicit arguments) and that sometimes doesn't play nicely with Scala's colored local type inference. The selling point of this, coupled with parametricity ("tagless-final style"), is the ability to reason algebraically about your code.

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 Simulacrum and ScalaCheck you can also consider the following projects:

ScalaTest - A testing tool for Scala and Java developers

scalaprops - property based testing library for Scala

Gatling - Modern Load Testing as Code

Mockito Scala - Mockito for Scala language

ScalaMock - Native Scala mocking framework

fs2-grpc - gRPC implementation for FS2/cats-effect

µTest - A simple testing framework for Scala

Freestyle - A cohesive & pragmatic framework of FP centric Scala libraries

Scalive - Connect a Scala REPL to running JVM processes without any prior setup

FS2 - Compositional, streaming I/O library for Scala

Stryker4s - Mutation testing for Scala

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