tasty-hspec 1.2.0.3 → 1.2.0.4
raw patch · 4 files changed
+20/−12 lines, 4 filesdep +hspec-apidep −taggeddep ~QuickCheckdep ~basedep ~hspec
Dependencies added: hspec-api
Dependencies removed: tagged
Dependency ranges changed: QuickCheck, base, hspec, hspec-core, tasty, tasty-quickcheck
Files
- CHANGELOG.md +6/−0
- README.md +1/−1
- src/Test/Tasty/Hspec.hs +3/−2
- tasty-hspec.cabal +10/−9
CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## [1.2.0.4] - 2023-04-25++- Add support for `hspec-2.11`+- Drop support for `hspec-2.10`+- Drop support for GHC < 8.4+ ## [1.2.0.3] - 2023-01-11 - Drop support for `hspec < 2.10`, `hspec-core < 2.10`, `tasty < 1.3`, and `tasty-quickcheck < 0.9.1`. This was done to
README.md view
@@ -1,6 +1,6 @@ # tasty-hspec -[](https://travis-ci.org/mitchellwrosen/tasty-hspec)+[](https://github.com/mitchellwrosen/tasty-hspec/actions) [](https://hackage.haskell.org/package/tasty-hspec) [](https://www.stackage.org/lts/package/tasty-hspec) [](https://www.stackage.org/nightly/package/tasty-hspec)
src/Test/Tasty/Hspec.hs view
@@ -21,7 +21,7 @@ import Data.Proxy import Data.Typeable (Typeable) import qualified Test.Hspec as Hspec-import qualified Test.Hspec.Core.Formatters as Hspec.Core.Formatters+import qualified Test.Hspec.Api.Formatters.V1 as Hspec.Api.Formatters.V1 import qualified Test.Hspec.Core.Spec as Hspec.Core.Spec import qualified Test.Tasty as Tasty import qualified Test.Tasty.Options as Tasty.Options@@ -127,6 +127,7 @@ reason' = "# PENDING: " ++ fromMaybe "No reason given" reason Hspec.Core.Spec.Failure _ reason -> case reason of+ Hspec.Core.Spec.ColorizedReason x -> Tasty.Providers.testFailed x Hspec.Core.Spec.NoReason -> Tasty.Providers.testFailed "" Hspec.Core.Spec.Reason x -> Tasty.Providers.testFailed x Hspec.Core.Spec.ExpectedButGot preface expected actual ->@@ -136,7 +137,7 @@ Just (" but got: " ++ actual) ] Hspec.Core.Spec.Error _ exception ->- Tasty.Providers.testFailed ("uncaught exception: " ++ Hspec.Core.Formatters.formatException exception)+ Tasty.Providers.testFailed ("uncaught exception: " ++ Hspec.Api.Formatters.V1.formatException exception) ) where progress' (x, y) =
tasty-hspec.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: tasty-hspec-version: 1.2.0.3+version: 1.2.0.4 synopsis: Hspec support for the Tasty test framework. description: This package provides a Tasty provider for Hspec test suites.@@ -12,29 +12,30 @@ maintainer: mitchellwrosen@gmail.com category: Testing build-type: Simple-tested-with: GHC == 9.0.2, GHC == 9.2.5, GHC == 9.4.4+tested-with: GHC == 9.2.7, GHC == 9.4.4, GHC == 9.6.1 -extra-source-files:+extra-doc-files: .gitignore CHANGELOG.md- examples/example.hs README.md +extra-source-files:+ examples/example.hs+ source-repository head type: git location: https://github.com/mitchellwrosen/tasty-hspec.git library build-depends:- base ^>= 4.9 || ^>= 4.10 || ^>= 4.11 || ^>= 4.12 || ^>= 4.13 || ^>= 4.14 || ^>= 4.15 || ^>= 4.16 || ^>= 4.17,- hspec ^>= 2.10,- hspec-core ^>= 2.10,+ base ^>= 4.11 || ^>= 4.12 || ^>= 4.13 || ^>= 4.14 || ^>= 4.15 || ^>= 4.16 || ^>= 4.17 || ^>= 4.18,+ hspec ^>= 2.11.0,+ hspec-api ^>= 2.11.0,+ hspec-core ^>= 2.11.0, QuickCheck ^>= 2.7 || ^>= 2.8 || ^>= 2.9 || ^>= 2.10 || ^>= 2.11 || ^>= 2.12 || ^>= 2.13 || ^>= 2.14, tasty ^>= 1.3 || ^>= 1.4, tasty-smallcheck >= 0.1 && < 0.9, tasty-quickcheck ^>= 0.9.1 || ^>= 0.10,- if impl(ghc < 7.8)- build-depends: tagged >= 0.2 default-extensions: LambdaCase ScopedTypeVariables