Haskell Testing

Open-source Haskell projects categorized as Testing | Edit details

Top 23 Haskell Testing Projects

  • echidna

    Ethereum smart contract fuzzer

    Project mention: Appsec for solidity | reddit.com/r/ethdev | 2021-05-12
  • hspec

    A Testing Framework for Haskell

    Project mention: How can I write tests in Haskell, I’m having trouble understanding how to install a test module? | reddit.com/r/haskell | 2021-07-20

    hspec is a great library for testing, you can also use it to group different kind of tests, like property-based tests with QuickCheck.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • QuickCheck

    Automatic testing of Haskell programs. (by nick8325)

  • hedgehog

    Release with confidence, state-of-the-art property testing for Haskell.

    Project mention: Mutation Testing | reddit.com/r/programming | 2021-04-13

    Haskell has QuickCheck and Hedgehog, and dotnet has both as well. F# is favored, but there's C# interop.

  • tasty

    Modern and extensible testing framework for Haskell

  • DocTest

    An implementation of Python's doctest for Haskell (by sol)

    Project mention: Why is the debugger so bad in Haskell? (or is it just me) | reddit.com/r/haskell | 2021-10-19

    Try to restrict your types even on sub functions (inside where), use testing, break down your code to the most atomic parts, using ghci to debug each part once at a time, and because Haskell doesn't let you reuse variables, or mutate state, it's a lot easier to rationalize evaluation order (which makes it a lot easier to debug without step debuggers compared to languages like python).

  • quickspec

    Equational laws for free

    Project mention: Reverse of quickspec | reddit.com/r/haskell | 2021-05-24

    Quickspec (https://github.com/nick8325/quickspec) is awesome in discovering laws in the code we write. But I am in search for a tool (the reverse) , which given the spec, can it synthesise code ?

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • async-dejafu

    Systematic concurrency testing meets Haskell.

  • webdriver

    A Haskell client for the Selenium WebDriver protocol.

    Project mention: Need help with webdriver | reddit.com/r/haskell | 2022-01-18

    There is an attempt to get it updated, but I don't know how usable it is.

  • curl-runnings

    A declarative test framework for quickly and easily writing integration tests against JSON API's.

  • genvalidity

    Validity and validity-based testing

  • smallcheck

    Test your Haskell code by exhaustively checking its properties

  • HUnit

    A unit testing framework for Haskell

    Project mention: A CRUD journey in Haskell, part I, introduction | dev.to | 2021-08-03

    Testing is a good engineering practice agnostic to technology or tooling. Haskell is no different and the community created a great tool for Unit testing called HUnit, inspired by the Java JUnit.

  • generic-random

    Generic random generators (by Lysxia)

  • checkers

    Check properties on standard classes and data structures

  • monad-mock

    A Haskell package that provides a monad transformer for mocking mtl-style typeclasses

  • fitspec

    refine properties for testing Haskell programs

  • ghc-prof-flamegraph

  • hspec-wai

    Helpers to test WAI application with Hspec

  • hedgehog-classes

    Hedgehog will eat your typeclass bugs

  • HTF

    Haskell Test Framework

  • type-spec

    A tiny EDSL to write type-level-unit tests

  • arion

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 2022-01-18.

Haskell Testing related posts


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

Project Stars
1 echidna 954
2 hspec 640
3 QuickCheck 621
4 hedgehog 615
5 tasty 529
6 DocTest 327
7 quickspec 222
8 async-dejafu 173
9 webdriver 173
10 curl-runnings 142
11 genvalidity 141
12 smallcheck 122
13 HUnit 86
14 generic-random 79
15 checkers 76
16 monad-mock 70
17 fitspec 69
18 ghc-prof-flamegraph 63
19 hspec-wai 56
20 hedgehog-classes 51
21 HTF 47
22 type-spec 46
23 arion 46
Find remote jobs at our new job board 99remotejobs.com. There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.