packages feed

hspec 2.10.10 → 2.11.17

raw patch · 7 files changed

Files

CHANGES.markdown view
@@ -1,3 +1,79 @@+## Changes in 2.11.17 (2026-03-04)+  - Compatibility with QuickCheck 2.18++## Changes in 2.11.16 (2025-12-12)+  - Add support for MicroHs++## Changes in 2.11.15 (2025-12-08)+  - Remove redundant `tf-random` dependency++## Changes in 2.11.14 (2025-09-30)+  - Make sure that `--pretty` completes in *O(n)* time++## Changes in 2.11.13 (2025-09-15)+  - Make diff algorithm line based+  - Improve pretty-printing of nested records++## Changes in 2.11.12 (2025-03-17)+  - Add `--no-rerun` and `--no-rerun-all-on-success`++## Changes in 2.11.11 (2025-02-17)+  - Compatibility with GHC 9.12++## Changes in 2.11.10 (2024-11-16)+  - Add (experimental) extensions API+  - Handle small terminal sizes more gracefully when reporting progress+  - Correctly indent multi-line pending messages+  - Use "erase in line" ANSI sequence to clear transient output (instead of+    overwriting it with spaces)++## Changes in 2.11.9 (2024-05-24)+  - Compatibility with GHC 9.10.1+  - Drop support for GHC 7.10.3++## Changes in 2.11.8 (2024-04-22)+  - Make the build pass with QuickCheck 2.15++## Changes in 2.11.7 (2023-10-22)+  - Include `--seed` in the note on how to rurun a failing item.++## Changes in 2.11.6 (2023-10-11)+  - Compatibility with GHC 9.8.1+  - Run cleanup actions on `--fail-fast` (see #860)++## Changes in 2.11.5 (2023-09-20)+  - Add `--show-exceptions` and `--display-exceptions`++## Changes in 2.11.4 (2023-07-20)+  - Depend on `hspec-expectations-0.8.4`++## Changes in 2.11.3 (2023-07-10)+  - Suppress informational output from QuickCheck when+    `Test.QuickCheck.Args.chatty` is `False` (#840)++## Changes in 2.11.2 (2023-07-06)+  - Add `--expert` mode++## Changes in 2.11.1 (2023-05-28)+  - Depend on `hspec-expectations-0.8.3`++## Changes in 2.11.0.1 (2023-04-28)+  - Don't crash when home directories are unsupported (WASM/WASI) (thanks+    @amesgen)++## Changes in 2.11.0 (2023-04-21)+  - Drop support for GHC < 7.10.3+  - Improve coloring of whitespace-only segments on `--diff`+  - Add `ColorizedReason` constructor to `FailureReason`+  - Provide a new package `hspec-api`, a stable API that can be used to extend+    Hspec's functionality.+  - Deprecate `Test.Hspec.Core.Formatters.V1` in favor of+    `Test.Hspec.Api.Formatters.V1`+  - Add `--fail-on=empty-description`+  - Print slow spec items to `stderr` instead of `stdout`+  - Handle quoting/escaping in `.hspec` files+  - Flush output handle after reporting progress on `-fprogress`+ ## Changes in 2.10.10 (2023-03-07)   - Re-export `sequential` from `Test.Hspec`   - Rerun `beforeAll` / `afterAll` on `--rerun-all-on-success` (#768)
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2011-2023 Simon Hengel <sol@typeful.net>+Copyright (c) 2011-2026 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.2.+-- This file has been generated from package.yaml by hpack version 0.39.1. -- -- see: https://github.com/sol/hpack  name:             hspec-version:          2.10.10+version:          2.11.17 license:          MIT license-file:     LICENSE-copyright:        (c) 2011-2023 Simon Hengel,+copyright:        (c) 2011-2026 Simon Hengel,                   (c) 2011-2012 Trystan Spangler,                   (c) 2011 Greg Weber maintainer:       Simon Hengel <sol@typeful.net>@@ -16,6 +16,7 @@ category:         Testing stability:        experimental bug-reports:      https://github.com/hspec/hspec/issues+author:           Simon Hengel <sol@typeful.net> homepage:         https://hspec.github.io/ synopsis:         A Testing Framework for Haskell description:      Hspec is a testing framework for Haskell.  Some of Hspec's distinctive@@ -45,9 +46,9 @@   build-depends:       QuickCheck >=2.12     , base ==4.*-    , hspec-core ==2.10.10-    , hspec-discover ==2.10.10-    , hspec-expectations ==0.8.2.*+    , hspec-core ==2.11.17+    , hspec-discover ==2.11.17+    , hspec-expectations ==0.8.4.*   exposed-modules:       Test.Hspec       Test.Hspec.Discover@@ -57,3 +58,5 @@   other-modules:       Paths_hspec   default-language: Haskell2010+  if impl(ghc)+    cpp-options: -DENABLE_SPEC_HOOK_ARGS
src/Test/Hspec.hs view
@@ -10,8 +10,8 @@ -- * Types   Spec , SpecWith-, Arg , Example+, Arg  -- * Setting expectations , module Test.Hspec.Expectations@@ -40,7 +40,7 @@ , xdescribe , xcontext --- * Focused spec items+-- * Focused spec items #focus# -- | -- During a test run, when a spec contains /focused/ spec items, all other spec -- items are ignored.
src/Test/Hspec/Discover.hs view
@@ -1,3 +1,5 @@+{-# OPTIONS_GHC -fno-warn-deprecations #-}+{-# OPTIONS_HADDOCK hide #-} {-# LANGUAGE FlexibleInstances #-} module Test.Hspec.Discover {-# WARNING   "This module is used by @hspec-discover@.  It is not part of the public API and may change at any time."
src/Test/Hspec/Formatters.hs view
@@ -1,7 +1,8 @@+{-# OPTIONS_GHC -fno-warn-deprecations #-} -- |--- Deprecated\: Use "Test.Hspec.Core.Formatters.V1" instead.+-- Stability: deprecated module Test.Hspec.Formatters--- {-# DEPRECATED "Use \"Test.Hspec.Core.Formatters.V1\" instead." #-}+{-# DEPRECATED "Use [Test.Hspec.Api.Formatters.V1](https://hackage.haskell.org/package/hspec-api/docs/Test-Hspec-Api-Formatters-V1.html) instead." #-} (module Test.Hspec.Core.Formatters.V1) where import           Test.Hspec.Core.Formatters.V1
version.yaml view
@@ -1,1 +1,7 @@-&version 2.10.10+version: &version 2.11.17+synopsis: A Testing Framework for Haskell+author: Simon Hengel <sol@typeful.net>+maintainer: Simon Hengel <sol@typeful.net>+category: Testing+stability: experimental+homepage: https://hspec.github.io/