Scala Testing

Open-source Scala projects categorized as Testing | Edit details

Top 21 Scala Testing Projects

  • GitHub repo Gatling

    Modern Load Testing as Code

    Project mention: Gatling will support Kotlin and Java | news.ycombinator.com | 2021-09-23
  • GitHub repo Finatra

    Fast, testable, Scala services built on TwitterServer and Finagle

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo FS2

    Compositional, streaming I/O library for Scala

    Project mention: Introducing effects systems S.A. ZIO at work? | reddit.com/r/scala | 2021-08-23

    Assuming the bug mentioned here is https://github.com/typelevel/fs2/issues/2568, we came up with a partial fix in a day (https://github.com/typelevel/fs2/pull/2569) and a complete fix in 2 days: https://github.com/typelevel/fs2/pull/2572. Note the original bug was opened on a Saturday. :)

  • GitHub repo ScalaCheck

    Property-based testing for Scala

    Project mention: Friction-less scala - Tell us what is causing friction in your day-to-day life with Scala | reddit.com/r/scala | 2021-08-10

    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.

  • GitHub repo ScalaTest

    A testing tool for Scala and Java developers

  • GitHub repo Diffy

    Project mention: Tool to test for response differences in API | reddit.com/r/api | 2021-03-25
  • GitHub repo Specs2

    Software Specifications for Scala

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo ScalaMeter

    Microbenchmarking and performance regression testing framework for the JVM platform.

  • GitHub repo µTest

    A simple testing framework for Scala

    Project mention: From First Principles: Why Scala? | news.ycombinator.com | 2021-02-11

    Let's clarify some points for folks not so familiar with Scala.

    > * Scala minor version are binary incompatible, so maintaining Scala projects is a big pain. Upgrading Spark from Scala 2.11 to Scala 2.12 was a massive undertaking for example.

    Scala just chose a strange naming scheme. Other languages would have just increased their major version instead. The scala minor version is increased every few years and not every month or so.

    > * Scala has tons of language features and lets people do crazy things in the code.

    Actually, that's not true. Or rather: compared to what language?

    Scala has surprisingly few language features, but the ones it has are very flexible and powerful. Take Kotlin for example. It has method extensions as a dedicated feature. Scala just has implicits which can be used for method extension.

    > * Scalatest is stil used by most projects and is annoying to use, as described here: https://github.com/lihaoyi/utest#why-utest. The overuse of DSLs in Scala is really annoying.

    I agree with the overuse of DSLs. Luckily that got much better, but older libraries like scalatest still suffer from that.

    > * Li's libs (os-lib, upickle, utest) have clean public interfaces, but most Scala ecosystem libs are hard to use, see the JSON alternatives for examples

    I think that just comes from using the library in a non-idiomatic way. In most applications, you will need to use the whole json anyways, and then you use (or can use) circe like that:

        {

  • GitHub repo ScalaMock

    Native Scala mocking framework (by paulbutcher)

  • GitHub repo scalaprops

    property based testing library for Scala

  • GitHub repo Mockito Scala

    Mockito for Scala language

  • GitHub repo cornichon

    Scala DSL for testing HTTP JSON API

  • GitHub repo Minitest

    The super light testing library for Scala and Scala.js (by monix)

  • GitHub repo Nyaya

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

  • GitHub repo Stryker4s

    Mutation testing for Scala

    Project mention: Mutation testing for Scala - Stryker4s v0.10.0 released | reddit.com/r/scala | 2020-12-21
  • GitHub repo Scala Test-State

    Scala Test-State.

    Project mention: What's the maturity level of ScalaJS? | reddit.com/r/scala | 2021-08-27

    It actually been rock-solid for many, many years now! I've built quite a few things with it and introduced it to teams who picked it up very quickly and with no major problems. I've never had any production problems with it EVER and I've been living and breathing it pretty much every day for ages now. It's very, very unit testable (oh! check out Scala Test State if you're interested in really powerful and concise Scala.JS testing) so it's nearly trivial to have to very well tested webapp, including mouse clicks, key presses, whatever you want. Awesome awesome stuff and the Scala.JS team deserve some kind of tech Nobel prize imo. It's been a game changer for me.

  • GitHub repo Testcontainers-scala

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

  • GitHub repo sbt-example

    Run Scaladoc as unit tests

  • GitHub repo be-kind-rewind

    A VCR testing library for Scala

    Project mention: Be Kind Rewind 0.1.0 released (a VCR testing library) | reddit.com/r/scala | 2021-04-12
  • GitHub repo databob

    Randomised, zero-boilerplate object builders

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-09-23.

Index

What are some of the best open-source Testing projects in Scala? This list will help you:

Project Stars
1 Gatling 5,300
2 Finatra 2,111
3 FS2 1,945
4 ScalaCheck 1,754
5 ScalaTest 981
6 Diffy 757
7 Specs2 704
8 ScalaMeter 492
9 µTest 447
10 ScalaMock 445
11 scalaprops 268
12 Mockito Scala 266
13 cornichon 215
14 Minitest 175
15 Nyaya 169
16 Stryker4s 137
17 Scala Test-State 127
18 Testcontainers-scala 70
19 sbt-example 28
20 be-kind-rewind 26
21 databob 9
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com