packages feed

hspec 2.7.4 → 2.7.5

raw patch · 4 files changed

+12/−7 lines, 4 filesdep ~hspec-coredep ~hspec-discoverPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: hspec-core, hspec-discover

API changes (from Hackage documentation)

+ Test.Hspec.Discover: class Monad m => MonadFail (m :: Type -> Type)
- Test.Hspec: after :: () => ActionWith a -> SpecWith a -> SpecWith a
+ Test.Hspec: after :: ActionWith a -> SpecWith a -> SpecWith a
- Test.Hspec: afterAll :: () => ActionWith a -> SpecWith a -> SpecWith a
+ Test.Hspec: afterAll :: ActionWith a -> SpecWith a -> SpecWith a
- Test.Hspec: afterAll_ :: () => IO () -> SpecWith a -> SpecWith a
+ Test.Hspec: afterAll_ :: IO () -> SpecWith a -> SpecWith a
- Test.Hspec: after_ :: () => IO () -> SpecWith a -> SpecWith a
+ Test.Hspec: after_ :: IO () -> SpecWith a -> SpecWith a
- Test.Hspec: around :: () => (ActionWith a -> IO ()) -> SpecWith a -> Spec
+ Test.Hspec: around :: (ActionWith a -> IO ()) -> SpecWith a -> Spec
- Test.Hspec: aroundWith :: () => (ActionWith a -> ActionWith b) -> SpecWith a -> SpecWith b
+ Test.Hspec: aroundWith :: (ActionWith a -> ActionWith b) -> SpecWith a -> SpecWith b
- Test.Hspec: around_ :: () => (IO () -> IO ()) -> SpecWith a -> SpecWith a
+ Test.Hspec: around_ :: (IO () -> IO ()) -> SpecWith a -> SpecWith a
- Test.Hspec: before :: () => IO a -> SpecWith a -> Spec
+ Test.Hspec: before :: IO a -> SpecWith a -> Spec
- Test.Hspec: beforeAll :: () => IO a -> SpecWith a -> Spec
+ Test.Hspec: beforeAll :: IO a -> SpecWith a -> Spec
- Test.Hspec: beforeAll_ :: () => IO () -> SpecWith a -> SpecWith a
+ Test.Hspec: beforeAll_ :: IO () -> SpecWith a -> SpecWith a
- Test.Hspec: beforeWith :: () => (b -> IO a) -> SpecWith a -> SpecWith b
+ Test.Hspec: beforeWith :: (b -> IO a) -> SpecWith a -> SpecWith b
- Test.Hspec: before_ :: () => IO () -> SpecWith a -> SpecWith a
+ Test.Hspec: before_ :: IO () -> SpecWith a -> SpecWith a
- Test.Hspec: focus :: () => SpecWith a -> SpecWith a
+ Test.Hspec: focus :: SpecWith a -> SpecWith a
- Test.Hspec: parallel :: () => SpecWith a -> SpecWith a
+ Test.Hspec: parallel :: SpecWith a -> SpecWith a
- Test.Hspec: pending :: HasCallStack -> Expectation
+ Test.Hspec: pending :: HasCallStack => Expectation
- Test.Hspec: pendingWith :: HasCallStack -> String -> Expectation
+ Test.Hspec: pendingWith :: HasCallStack => String -> Expectation
- Test.Hspec: runIO :: () => IO r -> SpecM a r
+ Test.Hspec: runIO :: IO r -> SpecM a r
- Test.Hspec: type family Arg e :: Type
+ Test.Hspec: type family Arg e
- Test.Hspec.Discover: (!!) :: () => [a] -> Int -> a
+ Test.Hspec.Discover: (!!) :: [a] -> Int -> a
- Test.Hspec.Discover: ($!) :: () => (a -> b) -> a -> b
+ Test.Hspec.Discover: ($!) :: forall (r :: RuntimeRep) a (b :: TYPE r). (a -> b) -> a -> b
- Test.Hspec.Discover: ($) :: () => (a -> b) -> a -> b
+ Test.Hspec.Discover: ($) :: forall (r :: RuntimeRep) a (b :: TYPE r). (a -> b) -> a -> b
- Test.Hspec.Discover: (++) :: () => [a] -> [a] -> [a]
+ Test.Hspec.Discover: (++) :: [a] -> [a] -> [a]
- Test.Hspec.Discover: (.) :: () => (b -> c) -> (a -> b) -> a -> c
+ Test.Hspec.Discover: (.) :: (b -> c) -> (a -> b) -> a -> c
- Test.Hspec.Discover: asTypeOf :: () => a -> a -> a
+ Test.Hspec.Discover: asTypeOf :: a -> a -> a
- Test.Hspec.Discover: break :: () => (a -> Bool) -> [a] -> ([a], [a])
+ Test.Hspec.Discover: break :: (a -> Bool) -> [a] -> ([a], [a])
- Test.Hspec.Discover: const :: () => a -> b -> a
+ Test.Hspec.Discover: const :: a -> b -> a
- Test.Hspec.Discover: curry :: () => ((a, b) -> c) -> a -> b -> c
+ Test.Hspec.Discover: curry :: ((a, b) -> c) -> a -> b -> c
- Test.Hspec.Discover: cycle :: () => [a] -> [a]
+ Test.Hspec.Discover: cycle :: [a] -> [a]
- Test.Hspec.Discover: drop :: () => Int -> [a] -> [a]
+ Test.Hspec.Discover: drop :: Int -> [a] -> [a]
- Test.Hspec.Discover: dropWhile :: () => (a -> Bool) -> [a] -> [a]
+ Test.Hspec.Discover: dropWhile :: (a -> Bool) -> [a] -> [a]
- Test.Hspec.Discover: either :: () => (a -> c) -> (b -> c) -> Either a b -> c
+ Test.Hspec.Discover: either :: (a -> c) -> (b -> c) -> Either a b -> c
- Test.Hspec.Discover: error :: HasCallStack => [Char] -> a
+ Test.Hspec.Discover: error :: forall (r :: RuntimeRep) (a :: TYPE r). HasCallStack => [Char] -> a
- Test.Hspec.Discover: errorWithoutStackTrace :: () => [Char] -> a
+ Test.Hspec.Discover: errorWithoutStackTrace :: forall (r :: RuntimeRep) (a :: TYPE r). [Char] -> a
- Test.Hspec.Discover: fail :: Monad m => String -> m a
+ Test.Hspec.Discover: fail :: MonadFail m => String -> m a
- Test.Hspec.Discover: filter :: () => (a -> Bool) -> [a] -> [a]
+ Test.Hspec.Discover: filter :: (a -> Bool) -> [a] -> [a]
- Test.Hspec.Discover: flip :: () => (a -> b -> c) -> b -> a -> c
+ Test.Hspec.Discover: flip :: (a -> b -> c) -> b -> a -> c
- Test.Hspec.Discover: fst :: () => (a, b) -> a
+ Test.Hspec.Discover: fst :: (a, b) -> a
- Test.Hspec.Discover: head :: () => [a] -> a
+ Test.Hspec.Discover: head :: [a] -> a
- Test.Hspec.Discover: id :: () => a -> a
+ Test.Hspec.Discover: id :: a -> a
- Test.Hspec.Discover: infixl 6 -
+ Test.Hspec.Discover: infixl 6 +
- Test.Hspec.Discover: init :: () => [a] -> [a]
+ Test.Hspec.Discover: init :: [a] -> [a]
- Test.Hspec.Discover: ioError :: () => IOError -> IO a
+ Test.Hspec.Discover: ioError :: IOError -> IO a
- Test.Hspec.Discover: iterate :: () => (a -> a) -> a -> [a]
+ Test.Hspec.Discover: iterate :: (a -> a) -> a -> [a]
- Test.Hspec.Discover: last :: () => [a] -> a
+ Test.Hspec.Discover: last :: [a] -> a
- Test.Hspec.Discover: map :: () => (a -> b) -> [a] -> [b]
+ Test.Hspec.Discover: map :: (a -> b) -> [a] -> [b]
- Test.Hspec.Discover: maybe :: () => b -> (a -> b) -> Maybe a -> b
+ Test.Hspec.Discover: maybe :: b -> (a -> b) -> Maybe a -> b
- Test.Hspec.Discover: readParen :: () => Bool -> ReadS a -> ReadS a
+ Test.Hspec.Discover: readParen :: Bool -> ReadS a -> ReadS a
- Test.Hspec.Discover: repeat :: () => a -> [a]
+ Test.Hspec.Discover: repeat :: a -> [a]
- Test.Hspec.Discover: replicate :: () => Int -> a -> [a]
+ Test.Hspec.Discover: replicate :: Int -> a -> [a]
- Test.Hspec.Discover: reverse :: () => [a] -> [a]
+ Test.Hspec.Discover: reverse :: [a] -> [a]
- Test.Hspec.Discover: scanl :: () => (b -> a -> b) -> b -> [a] -> [b]
+ Test.Hspec.Discover: scanl :: (b -> a -> b) -> b -> [a] -> [b]
- Test.Hspec.Discover: scanl1 :: () => (a -> a -> a) -> [a] -> [a]
+ Test.Hspec.Discover: scanl1 :: (a -> a -> a) -> [a] -> [a]
- Test.Hspec.Discover: scanr :: () => (a -> b -> b) -> b -> [a] -> [b]
+ Test.Hspec.Discover: scanr :: (a -> b -> b) -> b -> [a] -> [b]
- Test.Hspec.Discover: scanr1 :: () => (a -> a -> a) -> [a] -> [a]
+ Test.Hspec.Discover: scanr1 :: (a -> a -> a) -> [a] -> [a]
- Test.Hspec.Discover: seq :: () => a -> b -> b
+ Test.Hspec.Discover: seq :: forall (r :: RuntimeRep) a (b :: TYPE r). a -> b -> b
- Test.Hspec.Discover: snd :: () => (a, b) -> b
+ Test.Hspec.Discover: snd :: (a, b) -> b
- Test.Hspec.Discover: span :: () => (a -> Bool) -> [a] -> ([a], [a])
+ Test.Hspec.Discover: span :: (a -> Bool) -> [a] -> ([a], [a])
- Test.Hspec.Discover: splitAt :: () => Int -> [a] -> ([a], [a])
+ Test.Hspec.Discover: splitAt :: Int -> [a] -> ([a], [a])
- Test.Hspec.Discover: tail :: () => [a] -> [a]
+ Test.Hspec.Discover: tail :: [a] -> [a]
- Test.Hspec.Discover: take :: () => Int -> [a] -> [a]
+ Test.Hspec.Discover: take :: Int -> [a] -> [a]
- Test.Hspec.Discover: takeWhile :: () => (a -> Bool) -> [a] -> [a]
+ Test.Hspec.Discover: takeWhile :: (a -> Bool) -> [a] -> [a]
- Test.Hspec.Discover: uncurry :: () => (a -> b -> c) -> (a, b) -> c
+ Test.Hspec.Discover: uncurry :: (a -> b -> c) -> (a, b) -> c
- Test.Hspec.Discover: undefined :: HasCallStack => a
+ Test.Hspec.Discover: undefined :: forall (r :: RuntimeRep) (a :: TYPE r). HasCallStack => a
- Test.Hspec.Discover: until :: () => (a -> Bool) -> (a -> a) -> a -> a
+ Test.Hspec.Discover: until :: (a -> Bool) -> (a -> a) -> a -> a
- Test.Hspec.Discover: unzip :: () => [(a, b)] -> ([a], [b])
+ Test.Hspec.Discover: unzip :: [(a, b)] -> ([a], [b])
- Test.Hspec.Discover: unzip3 :: () => [(a, b, c)] -> ([a], [b], [c])
+ Test.Hspec.Discover: unzip3 :: [(a, b, c)] -> ([a], [b], [c])
- Test.Hspec.Discover: zip :: () => [a] -> [b] -> [(a, b)]
+ Test.Hspec.Discover: zip :: [a] -> [b] -> [(a, b)]
- Test.Hspec.Discover: zip3 :: () => [a] -> [b] -> [c] -> [(a, b, c)]
+ Test.Hspec.Discover: zip3 :: [a] -> [b] -> [c] -> [(a, b, c)]
- Test.Hspec.Discover: zipWith :: () => (a -> b -> c) -> [a] -> [b] -> [c]
+ Test.Hspec.Discover: zipWith :: (a -> b -> c) -> [a] -> [b] -> [c]
- Test.Hspec.Discover: zipWith3 :: () => (a -> b -> c -> d) -> [a] -> [b] -> [c] -> [d]
+ Test.Hspec.Discover: zipWith3 :: (a -> b -> c -> d) -> [a] -> [b] -> [c] -> [d]
- Test.Hspec.QuickCheck: modifyArgs :: () => (Args -> Args) -> SpecWith a -> SpecWith a
+ Test.Hspec.QuickCheck: modifyArgs :: (Args -> Args) -> SpecWith a -> SpecWith a
- Test.Hspec.QuickCheck: modifyMaxDiscardRatio :: () => (Int -> Int) -> SpecWith a -> SpecWith a
+ Test.Hspec.QuickCheck: modifyMaxDiscardRatio :: (Int -> Int) -> SpecWith a -> SpecWith a
- Test.Hspec.QuickCheck: modifyMaxShrinks :: () => (Int -> Int) -> SpecWith a -> SpecWith a
+ Test.Hspec.QuickCheck: modifyMaxShrinks :: (Int -> Int) -> SpecWith a -> SpecWith a
- Test.Hspec.QuickCheck: modifyMaxSize :: () => (Int -> Int) -> SpecWith a -> SpecWith a
+ Test.Hspec.QuickCheck: modifyMaxSize :: (Int -> Int) -> SpecWith a -> SpecWith a
- Test.Hspec.QuickCheck: modifyMaxSuccess :: () => (Int -> Int) -> SpecWith a -> SpecWith a
+ Test.Hspec.QuickCheck: modifyMaxSuccess :: (Int -> Int) -> SpecWith a -> SpecWith a

Files

CHANGES.markdown view
@@ -1,5 +1,8 @@+## Changes in 2.7.5+  - Extract source locations from `NoMethodError` and `AssertionFailed`+ ## Changes in 2.7.4-  - Apply --randomize recursively+  - Apply `--randomize` recursively  ## Changes in 2.7.3   - Add `--randomize`
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2011-2019 Simon Hengel <sol@typeful.net>+Copyright (c) 2011-2021 Simon Hengel <sol@typeful.net> Copyright (c) 2011-2012 Trystan Spangler <trystan.s@comcast.net> Copyright (c) 2011-2011 Greg Weber <greg@gregweber.info> 
hspec.cabal view
@@ -1,14 +1,14 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.2.+-- This file has been generated from package.yaml by hpack version 0.34.3. -- -- see: https://github.com/sol/hpack  name:             hspec-version:          2.7.4+version:          2.7.5 license:          MIT license-file:     LICENSE-copyright:        (c) 2011-2019 Simon Hengel,+copyright:        (c) 2011-2021 Simon Hengel,                   (c) 2011-2012 Trystan Spangler,                   (c) 2011 Greg Weber maintainer:       Simon Hengel <sol@typeful.net>@@ -31,6 +31,7 @@                   .                   The Hspec Manual is at <http://hspec.github.io/>. extra-source-files:+    version.yaml     CHANGES.markdown  source-repository head@@ -44,8 +45,8 @@   build-depends:       QuickCheck >=2.12     , base ==4.*-    , hspec-core ==2.7.4-    , hspec-discover ==2.7.4+    , hspec-core ==2.7.5+    , hspec-discover ==2.7.5     , hspec-expectations ==0.8.2.*   exposed-modules:       Test.Hspec
+ version.yaml view
@@ -0,0 +1,1 @@+&version 2.7.5