hspec: Behavior Driven Development for Haskell

[ library, mit, testing ] [ Propose Tags ]

Behavior Driven Development for Haskell

Hspec is roughly based on the Ruby library RSpec. However, Hspec is just a framework for running HUnit and QuickCheck tests. Compared to other options, it provides a much nicer syntax that makes tests very easy to read.

Versions [faq] 0.2.0, 0.3.0, 0.4.3, 0.5.0, 0.6.0, 0.6.1, 0.8, 0.8.1, 0.9.0, 0.9.1, 0.9.1.1, 0.9.2, 0.9.2.1, 0.9.2.2, 1.0.0, 1.0.0.1, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0, 1.2.0.1, 1.3.0, 1.3.0.1, 1.3.0.2, 1.4.0, 1.4.0.1, 1.4.1, 1.4.1.1, 1.4.2, 1.4.2.1, 1.4.2.2, 1.4.2.3, 1.4.3, 1.4.4, 1.4.5, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.7.2.1, 1.8.0, 1.8.1, 1.8.1.1, 1.8.2, 1.8.3, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.10.0, 1.10.0.1, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.1.8, 2.1.9, 2.1.10, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.3.0, 2.3.1, 2.3.2, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.5.6, 2.5.7, 2.5.8, 2.5.9, 2.6.0, 2.6.1, 2.7.0, 2.7.1 (info)
Dependencies ansi-terminal (==0.5.5), base (>=4 && <4.8), directory (>=1), filepath (>=1.1), HUnit (>=1 && <1.3), plugins (==1.5.1.4), QuickCheck (>=2.4.0.1 && <=2.5), regex-posix (>=0.9), silently (>=1.1.1 && <2), transformers (>=0.2.0 && <0.3.0) [details]
License BSD-3-Clause
Copyright (c) 2011 Trystan Spangler
Author Trystan Spangler
Maintainer trystan.s@comcast.net
Revised Revision 3 made by SimonHengel at 2018-02-10T08:08:19Z
Category Testing
Home page https://github.com/trystan/hspec
Bug tracker https://github.com/trystan/hspec/issues
Uploaded by TrystanSpangler at 2011-09-03T18:26:17Z
Distributions Arch:2.7.1, Debian:2.5.5, Fedora:2.7.1, FreeBSD:2.1.10, LTSHaskell:2.6.1, NixOS:2.7.1, Stackage:2.7.1, openSUSE:2.7.1
Executables hspec
Downloads 185234 total (2019 in the last 30 days)
Rating 2.75 (votes: 13) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-11-16 [all 7 reports]

Modules

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

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees