Monthly Downloads: 11
Programming language: Makefile
License: BSD 3-clause "New" or "Revised" License
Latest version: v0.0.4
hspec-leancheck alternatives and similar packages
Based on the "hspec" category.
Alternatively, view hspec-leancheck alternatives based on common mentions on social networks and blogs.
hspec9.9 7.8 hspec-leancheck VS hspecA Testing Framework for Haskell
hspec-wai9.0 0.0 hspec-leancheck VS hspec-waiHelpers to test WAI applications with Hspec
hspec-checkersAllows to use checkers properties from hspec
hspec-expectationsCatchy combinators for HUnit
hspec-expectations-jsonHspec expectations on JSON Values
hspec-golden-aesonUse tests to monitor changes in Aeson serialization
hspec-golden7.9 1.0 hspec-leancheck VS hspec-goldenGolden tests with Hspec
hspec-jenkins7.5 0.0 hspec-leancheck VS hspec-jenkinsJenkins-friendly XML formatter for Hspec
hspec-attoparsecutility functions for testing attoparsec parsers with hspec
hspec-megaparsecUtility functions for testing Megaparsec parsers with Hspec
hspec-test-frameworkRun test-framework tests with Hspec
hspec-laws5.6 0.0 hspec-leancheck VS hspec-lawsExperimental additions to hspec
hspec-hedgehogHedgehog support for the Hspec testing framework
hspec-smallcheckSmallCheck support for Hspec
hspec-expectations-matchAn hspec expectation that asserts a value matches a pattern
hspec-hashableInitial project template from stack
hspec-expectations-pretty-diffCatchy combinators for HUnit +++ colored pretty-printed diffs
hspec-server4.5 0.0 hspec-leancheck VS hspec-serverTest Framework like ServerSpec for Haskell
hspec-stack-rerunSimple project template from stack
hspec-tables3.2 0.0 hspec-leancheck VS hspec-tablesTable-driven (by-example) HSpec tests
hspec-expectations-lensOptics for hspec
hspec-need-envRead environment variables for hspec tests
hspec-bracket1.6 0.0 hspec-leancheck VS hspec-bracketThe bracket definitions for Hspec
hspec-multicheckA testing framework for Haskell using Hspec
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Do you think we are missing an alternative of hspec-leancheck or a related project?
hspec-leancheck: LeanCheck support for Hspec
LeanCheck support for the Hspec test framework.
$ cabal install hspec-leancheck
Here's how your
spec.hs might look like:
import Test.Hspec import Test.Hspec.LeanCheck as LC import Data.List (sort) main :: IO () main = hspec spec spec :: Spec spec = do describe "sort" $ do it "is idempotent" $ LC.property $ \xs -> sort (sort xs :: [Int]) == sort xs it "is identity" $ -- not really LC.property $ \xs -> sort (xs :: [Int]) == xs
And here is the output for the above program:
$ ./eg/minimal sort is idempotent is identity FAILED  Failures: eg/minimal.hs:17:5: 1) sort is identity [1,0] To rerun use: --match "/sort/is identity/" Randomized with seed 44182769 Finished in 0.0008 seconds 2 examples, 1 failure
propertyWith to configure the number of tests.