hspec 2.10.8 → 2.10.9
raw patch · 5 files changed
+28/−19 lines, 5 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)
Files
- CHANGES.markdown +18/−9
- LICENSE +1/−1
- hspec.cabal +7/−7
- src/Test/Hspec.hs +1/−1
- version.yaml +1/−1
CHANGES.markdown view
@@ -1,3 +1,12 @@+## Changes in 2.10.9 (2023-01-13)+ - Print error message on `-—fail-on=empty`+ - Only fail on `-—fail-on=empty` if at least one spec item has been filtered+ - Re-export more types from `Test.Hspec.Core.Runner`+ - Fix a pretty-printing bug where `[]` would be pretty-printed as `""`+ - Don't pretty-print if the expected and actual value would be equal after+ pretty-printing+ - Prevent deadlocks on unguarded exceptions in runner (#771)+ ## Changes in 2.10.8 (2022-12-19) - Add pretty-printing support for rational numbers - Force / evaluate exceptions recursively (#763)@@ -13,7 +22,7 @@ `HSPEC_DIFF_COMMAND="git diff"` - Do not imply `--fail-on=empty` on `--strict` -## Changes in 2.10.5+## Changes in 2.10.5 (2022-09-09) - Add `--fail-on`. This subsums `--fail-on-focused` and `--fail-on-pending`. - Add `--fail-on=empty` (#650) - Add `registerFormatter` and `registerDefaultFormatter` to@@ -22,26 +31,26 @@ `Test.Hspec.Core.Formatters`. Instead the module documentation now says that they are deprecated in favor of `Test.Hspec.Core.Formatters.V1`. -## Changes in 2.10.4+## Changes in 2.10.4 (2022-09-06) - Make sure that whitespace-only diff output is colorized properly (#660) -## Changes in 2.10.3+## Changes in 2.10.3 (2022-09-05) - Deprecate `Test.Hspec.Formatters` and `Test.Hspec.Core.Formatters` - Disable (most) warnings in files generated by `hspec-discover` (#702) -## Changes in 2.10.2+## Changes in 2.10.2 (2022-09-03) - Add `--strict` - Add `--fail-on-pending` - Do not depend on `clock` -## Changes in 2.10.1+## Changes in 2.10.1 (2022-08-22) - Support for GHC 9.4.1 - Generated modules now include an export list -## Changes in 2.10.0.1+## Changes in 2.10.0.1 (2022-08-06) - Fix a deadlock with nested failed `aroundAll`s (see #679) -## Changes in 2.10.0+## Changes in 2.10.0 (2022-05-12) - Allow to transform the config in `SpecM` - Allow to customize pretty-printing (via `configPrettyPrintFunction`) - Add `getSpecDescriptionPath` (#637, thanks @srid)@@ -512,7 +521,7 @@ `--print-cpu-time`. ## Changes in 1.4.0- - We now have a manual at http://hspec.github.io/. The sources are in+ - We now have a manual at https://hspec.github.io/. The sources are in `doc/`. It's still work in progress. Contributions are very welcome! - The Haddock documentation now indicates the stability of each exposed module. `Test.Hspec` is now considered stable.@@ -713,7 +722,7 @@ ### A new monadic API for custom Formatters For all the details, have a look at the [docs]-(http://hackage.haskell.org/packages/archive/hspec/latest/doc/html/Test-Hspec-Formatters.html).+(https://hackage.haskell.org/packages/archive/hspec/latest/doc/html/Test-Hspec-Formatters.html). ### The total time required to run a spec is now included in the summary
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2011-2022 Simon Hengel <sol@typeful.net>+Copyright (c) 2011-2023 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.35.0.+-- This file has been generated from package.yaml by hpack version 0.35.1. -- -- see: https://github.com/sol/hpack name: hspec-version: 2.10.8+version: 2.10.9 license: MIT license-file: LICENSE-copyright: (c) 2011-2022 Simon Hengel,+copyright: (c) 2011-2023 Simon Hengel, (c) 2011-2012 Trystan Spangler, (c) 2011 Greg Weber maintainer: Simon Hengel <sol@typeful.net>@@ -16,7 +16,7 @@ category: Testing stability: experimental bug-reports: https://github.com/hspec/hspec/issues-homepage: http://hspec.github.io/+homepage: https://hspec.github.io/ synopsis: A Testing Framework for Haskell description: Hspec is a testing framework for Haskell. Some of Hspec's distinctive features are:@@ -29,7 +29,7 @@ . * automatic discovery of test files .- The Hspec Manual is at <http://hspec.github.io/>.+ The Hspec Manual is at <https://hspec.github.io/>. extra-source-files: version.yaml CHANGES.markdown@@ -45,8 +45,8 @@ build-depends: QuickCheck >=2.12 , base ==4.*- , hspec-core ==2.10.8- , hspec-discover ==2.10.8+ , hspec-core ==2.10.9+ , hspec-discover ==2.10.9 , hspec-expectations ==0.8.2.* exposed-modules: Test.Hspec
src/Test/Hspec.hs view
@@ -4,7 +4,7 @@ -- Hspec is a testing framework for Haskell. -- -- This is the library reference for Hspec.--- The <http://hspec.github.io/ User's Manual> contains more in-depth+-- The <https://hspec.github.io/ User's Manual> contains more in-depth -- documentation. module Test.Hspec ( -- * Types
version.yaml view
@@ -1,1 +1,1 @@-&version 2.10.8+&version 2.10.9