sydtest 0.23.0.1 → 0.23.0.2
raw patch · 6 files changed
+18/−15 lines, 6 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−0
- src/Test/Syd/Def/Specify.hs +1/−2
- src/Test/Syd/OptParse.hs +1/−0
- src/Test/Syd/Output/Pretty.hs +7/−9
- src/Test/Syd/Output/Terse.hs +2/−2
- sydtest.cabal +2/−2
CHANGELOG.md view
@@ -1,5 +1,10 @@ # Changelog +## [0.23.0.2] - 2026-02-26++### Changed++* Fixed a missing import on Windows. ## [0.23.0.1] - 2026-01-26
src/Test/Syd/Def/Specify.hs view
@@ -179,8 +179,7 @@ t sets progressReporter- ( \func -> supplyArgs (\_ arg2 -> func () arg2)- ),+ (\func -> supplyArgs (\_ arg2 -> func () arg2)), testDefCallStack = callStack } tell [DefSpecifyNode (T.pack s) testDef ()]
src/Test/Syd/OptParse.hs view
@@ -28,6 +28,7 @@ #ifdef mingw32_HOST_OS import System.Console.ANSI (hSupportsANSIColor)+import System.IO (stdout) #else import Text.Colour.Capabilities.FromEnv #endif
src/Test/Syd/Output/Pretty.hs view
@@ -81,7 +81,7 @@ [ [ [ chunk "Examples: ", fore green $ chunk (T.pack (show testSuiteStatExamples)) ]- | testSuiteStatExamples /= testSuiteStatSuccesses+ | testSuiteStatExamples /= testSuiteStatSuccesses ], [ [ chunk "Passed: ", ( if testSuiteStatSuccesses <= 0@@ -101,12 +101,12 @@ [ [ chunk "Flaky: ", fore red $ chunk (T.pack (show testSuiteStatFlakyTests)) ]- | testSuiteStatFlakyTests > 0+ | testSuiteStatFlakyTests > 0 ], [ [ chunk "Pending: ", fore magenta $ chunk (T.pack (show testSuiteStatPending)) ]- | testSuiteStatPending > 0+ | testSuiteStatPending > 0 ], [ [ chunk "Sum of test runtimes:", fore yellow $ chunk $ T.pack (printf "%13.2f seconds" sumTimeSeconds)@@ -181,8 +181,8 @@ _ -> fore green $ chunk (T.pack (printf "%d" w)), " inputs." ]- | status == TestPassed,- w <- maybeToList testRunResultNumTests+ | status == TestPassed,+ w <- maybeToList testRunResultNumTests ], map pad $ labelsChunks (fromMaybe 1 testRunResultNumTests) testRunResultLabels, map pad $ classesChunks testRunResultClasses,@@ -250,8 +250,7 @@ . ( \(s, i) -> [ chunk ( T.pack- ( printf "%5.2f%% %s" (100 * fromIntegral i / fromIntegral total :: Double) s- )+ (printf "%5.2f%% %s" (100 * fromIntegral i / fromIntegral total :: Double) s) ) ] )@@ -274,8 +273,7 @@ . ( \(s, i) -> [ chunk ( T.pack- ( printf "%5.2f%% %s" (100 * fromIntegral i / fromIntegral total :: Double) s- )+ (printf "%5.2f%% %s" (100 * fromIntegral i / fromIntegral total :: Double) s) ) ] )
src/Test/Syd/Output/Terse.hs view
@@ -85,12 +85,12 @@ [ [ chunk ", Flaky: ", fore red $ chunk (T.pack (show testSuiteStatFlakyTests)) ]- | testSuiteStatFlakyTests > 0+ | testSuiteStatFlakyTests > 0 ], [ [ chunk ", Pending: ", fore magenta $ chunk (T.pack (show testSuiteStatPending)) ]- | testSuiteStatPending > 0+ | testSuiteStatPending > 0 ], [ [ fore yellow $ chunk $ T.pack (printf " (%0.2f s)" totalTimeSeconds) ]
sydtest.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.37.0.+-- This file has been generated from package.yaml by hpack version 0.38.2. -- -- see: https://github.com/sol/hpack name: sydtest-version: 0.23.0.1+version: 0.23.0.2 synopsis: A modern testing framework for Haskell with good defaults and advanced testing features. description: A modern testing framework for Haskell with good defaults and advanced testing features. Sydtest aims to make the common easy and the hard possible. See https://github.com/NorfairKing/sydtest#readme for more information. category: Testing