packages feed

hspec 2.10.7 → 2.10.8

raw patch · 4 files changed

+43/−6 lines, 4 filesdep ~hspec-coredep ~hspec-discoverPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hspec-core, hspec-discover

API changes (from Hackage documentation)

+ Test.Hspec.QuickCheck: fprop :: (HasCallStack, Testable prop) => String -> prop -> Spec
+ Test.Hspec.QuickCheck: xprop :: (HasCallStack, Testable prop) => String -> prop -> Spec

Files

CHANGES.markdown view
@@ -1,3 +1,8 @@+## Changes in 2.10.8 (2022-12-19)+  - Add pretty-printing support for rational numbers+  - Force / evaluate exceptions recursively (#763)+  - Add `xprop` and `fprop`, which use `xit` and `fit` (thanks @lehins)+ ## Changes in 2.10.7 (2022-12-03)   - Do not depend on `ghc` for pretty-printing (#750, #752) 
hspec.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:             hspec-version:          2.10.7+version:          2.10.8 license:          MIT license-file:     LICENSE copyright:        (c) 2011-2022 Simon Hengel,@@ -45,8 +45,8 @@   build-depends:       QuickCheck >=2.12     , base ==4.*-    , hspec-core ==2.10.7-    , hspec-discover ==2.10.7+    , hspec-core ==2.10.8+    , hspec-discover ==2.10.8     , hspec-expectations ==0.8.2.*   exposed-modules:       Test.Hspec
src/Test/Hspec/QuickCheck.hs view
@@ -10,6 +10,8 @@  -- * Shortcuts , prop+, xprop+, fprop ) where  import           Test.Hspec@@ -22,7 +24,37 @@ -- -- is a shortcut for ----- > it ".." $ property $--- >   ..+-- @+-- `it` ".." $ `property` $+--   ..+-- @ prop :: (HasCallStack, Testable prop) => String -> prop -> Spec prop s = it s . property+++-- |+-- > xprop ".." $+-- >   ..+--+-- is a shortcut for+--+-- @+-- `xit` ".." $ `property` $+--   ..+-- @+xprop :: (HasCallStack, Testable prop) => String -> prop -> Spec+xprop s = xit s . property+++-- |+-- > fprop ".." $+-- >   ..+--+-- is a shortcut for+--+-- @+-- `fit` ".." $ `property` $+--   ..+-- @+fprop :: (HasCallStack, Testable prop) => String -> prop -> Spec+fprop s = fit s . property
version.yaml view
@@ -1,1 +1,1 @@-&version 2.10.7+&version 2.10.8