hspec

A Testing Framework for Haskell

http://hspec.github.io/

Version on this page:2.1.2@rev:1
LTS Haskell 19.8:2.8.5
Stackage Nightly 2022-05-20:2.9.7
Latest on Hackage:2.10.0

See all snapshots hspec appears in

MIT licensed
Maintained by Simon Hengel
This version can be pinned in stack with:hspec-2.1.2@sha256:0340d058c808dfe51468de6d5aa52501134650bf057634ab8499d1531b9473f8,2094

Module documentation for 2.1.2

  • Test
    • Test.Hspec
      • Test.Hspec.Core
      • Test.Hspec.Discover
      • Test.Hspec.Formatters
      • Test.Hspec.HUnit
      • Test.Hspec.QuickCheck
      • Test.Hspec.Runner

Hspec is a testing framework for Haskell. It is inspired by the Ruby library RSpec. Some of Hspec's distinctive features are:

  • a friendly DSL for defining tests

  • integration with QuickCheck, SmallCheck, and HUnit

  • parallel test execution

  • automatic discovery of test files

The Hspec Manual is at http://hspec.github.io/.