HSpec, Tasty, sydtest, Hunit, ... -> what do you use for writing Haskell tests?

This page summarizes the projects mentioned and recommended in the original post on /r/haskell

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • DocTest

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

  • doctest for testing examples in the documentation. Docs are much clearer when they contain usage examples and doctest helps them keep up to date.

  • registry

    Components as records of functions for Haskell (by etorreborre)

  • Additionally I have some code to run one Test (single test or test group) from GHCi by passing the function name (run) or a subset of the tests by passing a regexp of the description (runOnly). You can find some of those functions here: https://github.com/etorreborre/registry/blob/main/test/Test/Tasty/Extensions.hs.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts