Scala Testing

Open-source Scala projects categorized as Testing

Top 23 Scala Testing Projects

  • Gatling

    Modern Load Testing as Code

    Project mention: Best Practices in Testing GraphQL APIs | dev.to | 2023-07-03

    Performance and load testing are essential parts of GraphQL API testing. It ensures APIs can handle expected traffic volumes and respond within acceptable timeframes. You can use tools like Apache JMeter or Gatling to generate realistic loads and evaluate the API's performance under different scenarios. Techniques like batched queries and caching can help mitigate this issue.

  • Finatra

    Fast, testable, Scala services built on TwitterServer and Finagle

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • FS2

    Compositional, streaming I/O library for Scala

    Project mention: Ask HN: What are some of the most elegant codebases in your favorite language? | news.ycombinator.com | 2023-06-17
  • ScalaCheck

    Property-based testing for Scala

    Project mention: How to Survive Your Project's First 100k Lines | news.ycombinator.com | 2023-05-04

    Regarding numbers 2 and 3, I believe you are describing "property-based testing"[0]. A Scala version of this is ScalaCheck and can be found here[1].

    There appears to be at least one Rust library which claims to provide same, but I am not a Rust developer so cannot recommend any for fitness of purpose.

    0 - https://hypothesis.works/articles/what-is-property-based-tes...

    1 - https://github.com/typelevel/scalacheck/blob/main/doc/UserGu...

  • ScalaTest

    A testing tool for Scala and Java developers

    Project mention: Is Scala worth learning in 2023? | /r/scala | 2023-06-29

    Can you execute ScalaTest in IntelliJ like you can with TypeScript tests? Nope! this issue & this and many other like these in other repos have been open for years.

  • Specs2

    Software Specifications for Scala

  • ScalaMeter

    Microbenchmarking and performance regression testing framework for the JVM platform.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • ScalaMock

    Native Scala mocking framework

    Project mention: How many people/companies are fully on Scala 3? | /r/scala | 2023-07-12

    scalamock - not there yet, see https://github.com/paulbutcher/ScalaMock/issues/429 , you can use mockito as a replacement, but you will have to rewrite all the mocks

  • µTest

    A simple testing framework for Scala

  • munit

    Scala testing library with actionable errors and extensible APIs

  • Mockito Scala

    Mockito for Scala language

  • scalaprops

    property based testing library for Scala

  • cornichon

    Testing tool in Scala for HTTP JSON API

  • Nyaya

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

  • Stryker4s

    Mutation testing for Scala

  • Minitest

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

  • chiseltest

    The batteries-included testing and formal verification library for Chisel-based RTL designs.

  • Scala Test-State

    Scala Test-State.

  • chiselverify

    A dynamic verification library for Chisel.

  • be-kind-rewind

    A VCR testing library for Scala

  • sbt-example

    Run Scaladoc as unit tests

  • zio-mock

    Project mention: How many people/companies are fully on Scala 3? | /r/scala | 2023-07-12

    zio-mock - you can use it, but you will have to write mock objects boilerplate by hand, see https://github.com/zio/zio-mock/issues/13

  • databob

    Randomised, zero-boilerplate object builders

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

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 2023-07-12.

Scala Testing related posts

Index

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

Project Stars
1 Gatling 6,061
2 Finatra 2,272
3 FS2 2,256
4 ScalaCheck 1,898
5 ScalaTest 1,117
6 Specs2 734
7 ScalaMeter 501
8 ScalaMock 489
9 µTest 477
10 munit 390
11 Mockito Scala 325
12 scalaprops 275
13 cornichon 225
14 Nyaya 185
15 Stryker4s 183
16 Minitest 178
17 chiseltest 164
18 Scala Test-State 138
19 chiselverify 113
20 be-kind-rewind 38
21 sbt-example 32
22 zio-mock 19
23 databob 9
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
www.sonarqube.org