packages feed

tasty-discover 4.1.5 → 4.2.0

raw patch · 3 files changed

+19/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -8,6 +8,13 @@ [Keep a Changelog]: http://keepachangelog.com/ [Semantic Versioning]: http://semver.org/ +# 4.2.0 [2018-03-03]++## Fixed+- Actually support `scprop_` prefixed SmallCheck test cases (see issue [#140]).++[#140]: https://github.com/lwm/tasty-discover/issues/140+ # 4.1.5 [2018-02-26]  ## Fixed
library/Test/Tasty/Generator.hs view
@@ -78,6 +78,7 @@ generators :: [Generator] generators =   [ quickCheckPropertyGenerator+  , smallCheckPropertyGenerator   , hedgehogPropertyGenerator   , hunitTestCaseGenerator   , hspecTestCaseGenerator@@ -100,6 +101,15 @@   , generatorImport = "import qualified Test.Tasty.QuickCheck as QC\n"   , generatorClass  = ""   , generatorSetup  = \t -> "pure $ QC.testProperty \"" ++ name t ++ "\" " ++ qualifyFunction t+  }++-- | Smallcheck group generator prefix.+smallCheckPropertyGenerator :: Generator+smallCheckPropertyGenerator = Generator+  { generatorPrefix = "scprop_"+  , generatorImport = "import qualified Test.Tasty.SmallCheck as SC\n"+  , generatorClass  = ""+  , generatorSetup  = \t -> "pure $ SC.testProperty \"" ++ name t ++ "\" " ++ qualifyFunction t   }  -- | HUnit generator prefix.
tasty-discover.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: ff97f14221b8cba7330502905bfa6e6ccd6cb64e5076c9772605583c06cbee29+-- hash: 7f57cc7ff691dc37cb2fc91f183182a851042dbf6e5e06d4c7e5250f1891f46c  name:           tasty-discover-version:        4.1.5+version:        4.2.0 synopsis:       Test discovery for the tasty framework. description:    Automatic test discovery and runner for the tasty framework.                 Prefix your test case names and tasty-discover will discover, collect and run them. All popular test libraries are covered. Configure once and then just write your tests. Avoid forgetting to add test modules to your Cabal/Hpack files. Tasty ingredients are included along with various configuration options for different use cases. Please see the `README.md` below for how to get started.