packages feed

tasty-hedgehog 0.2.0.0 → 1.0.0.0

raw patch · 4 files changed

+19/−13 lines, 4 filesdep ~hedgehogPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hedgehog

API changes (from Hackage documentation)

- Test.Tasty.Hedgehog: HedgehogDiscardLimit :: (Maybe DiscardLimit) -> HedgehogDiscardLimit
+ Test.Tasty.Hedgehog: HedgehogDiscardLimit :: Maybe DiscardLimit -> HedgehogDiscardLimit
- Test.Tasty.Hedgehog: HedgehogReplay :: (Maybe (Size, Seed)) -> HedgehogReplay
+ Test.Tasty.Hedgehog: HedgehogReplay :: Maybe (Size, Seed) -> HedgehogReplay
- Test.Tasty.Hedgehog: HedgehogShrinkLimit :: (Maybe ShrinkLimit) -> HedgehogShrinkLimit
+ Test.Tasty.Hedgehog: HedgehogShrinkLimit :: Maybe ShrinkLimit -> HedgehogShrinkLimit
- Test.Tasty.Hedgehog: HedgehogShrinkRetries :: (Maybe ShrinkRetries) -> HedgehogShrinkRetries
+ Test.Tasty.Hedgehog: HedgehogShrinkRetries :: Maybe ShrinkRetries -> HedgehogShrinkRetries
- Test.Tasty.Hedgehog: HedgehogTestLimit :: (Maybe TestLimit) -> HedgehogTestLimit
+ Test.Tasty.Hedgehog: HedgehogTestLimit :: Maybe TestLimit -> HedgehogTestLimit

Files

changelog.md view
@@ -1,5 +1,10 @@ # Revision history for tasty-hedgehog +## 1.0.0.0  -- 2019-05-17++* Removed support for GHC < 8+* Upgrade to `hedgehog-1`+ ## 0.2.0.0  -- 2018-03-13  * Removes the verbosity option, which was unsupported
src/Test/Tasty/Hedgehog.hs view
@@ -106,7 +106,7 @@ reportToProgress :: PropertyConfig                  -> Report Progress                  -> T.Progress-reportToProgress config (Report testsDone _ status) =+reportToProgress config (Report testsDone _ _ status) =   let     TestLimit testLimit = propertyTestLimit config     ShrinkLimit shrinkLimit = propertyShrinkLimit config@@ -123,7 +123,7 @@              -> String              -> Report Result              -> IO String-reportOutput showReplay name report@(Report _ _ status) = do+reportOutput showReplay name report@(Report _ _ _ status) = do   -- TODO add details for tests run / discarded / shrunk   s <- renderResult Nothing (Just (PropertyName name)) report   pure $ case status of@@ -137,7 +137,7 @@           else ""       s ++ replayStr     GaveUp -> "Gave up"-    OK -> "OK"+    OK -> "" -- 'tasty' will print an "OK" for us.  instance T.IsTest HP where   testOptions =
tasty-hedgehog.cabal view
@@ -1,18 +1,19 @@ name:                tasty-hedgehog-version:             0.2.0.0+version:             1.0.0.0 license:             BSD3 license-file:        LICENCE author:              Dave Laing maintainer:          dave.laing.80@gmail.com copyright:           Copyright (c) 2017, Commonwealth Scientific and Industrial Research Organisation (CSIRO) ABN 41 687 119 230.-description:         Integrates the hedgehog testing library with the tasty testing framework. +description:         Integrates the <https://hackage.haskell.org/package/hedgehog hedgehog testing library> with the <https://hackage.haskell.org/package/tasty tasty testing framework>. category:            Testing synopsis:            Integration for tasty and hedgehog.-homepage:            https://github.com/qfpl/tasty-hedghog+homepage:            https://github.com/qfpl/tasty-hedgehog bug-reports:         https://github.com/qfpl/tasty-hedgehog/issues build-type:          Simple extra-source-files:  changelog.md cabal-version:       >=1.10+tested-with:         GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.4  source-repository   head   type:             git@@ -20,10 +21,10 @@  library   exposed-modules:     Test.Tasty.Hedgehog-  build-depends:       base >= 4.8 && <4.11+  build-depends:       base >= 4.8 && <4.13                      , tagged >= 0.8 && < 0.9-                     , tasty >= 0.11 && < 1.1-                     , hedgehog >= 0.5 && < 0.6+                     , tasty >= 0.11 && < 1.3+                     , hedgehog >= 1.0 && < 1.1   hs-source-dirs:      src   ghc-options:         -Wall   default-language:    Haskell2010@@ -32,10 +33,10 @@   type:                exitcode-stdio-1.0   main-is:             Main.hs   hs-source-dirs:      test-  build-depends:       base >= 4.8 && <4.11-                     , tasty >= 0.11 && < 1.1+  build-depends:       base >= 4.8 && <4.13+                     , tasty >= 0.11 && < 1.3                      , tasty-expected-failure >= 0.11 && < 0.12-                     , hedgehog >= 0.5 && < 0.6+                     , hedgehog >= 1.0 && < 1.1                      , tasty-hedgehog   ghc-options:         -Wall   default-language:    Haskell2010
test/Main.hs view
@@ -24,7 +24,7 @@ badReverse :: [a] -> [a] badReverse [] = [] badReverse [_] = []-badReverse as = reverse as+badReverse (x : xs) = badReverse xs ++ [x]  prop_badReverse_involutive :: Property prop_badReverse_involutive =