sydtest 0.11.0.0 → 0.11.0.1
raw patch · 4 files changed
+11/−5 lines, 4 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Test.Syd: type family Arg2 e;
- Test.Syd.Run: type family Arg2 e;
+ Test.Syd: type Arg1 e;
+ Test.Syd: type Arg2 e;
+ Test.Syd.Run: type Arg1 e;
+ Test.Syd.Run: type Arg2 e;
- Test.Syd: setupAround :: SetupFunc inner -> TestDefM outers inner result -> TestDefM outers () result
+ Test.Syd: setupAround :: SetupFunc inner -> TestDefM outers inner result -> TestDefM outers any result
- Test.Syd.Def.SetupFunc: setupAround :: SetupFunc inner -> TestDefM outers inner result -> TestDefM outers () result
+ Test.Syd.Def.SetupFunc: setupAround :: SetupFunc inner -> TestDefM outers inner result -> TestDefM outers any result
Files
- CHANGELOG.md +6/−0
- output-test/Spec.hs +2/−2
- src/Test/Syd/Def/SetupFunc.hs +2/−2
- sydtest.cabal +1/−1
CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## [0.11.0.1] - 2022-06-28++### Changed++* Made the type of `setupAround` more general.+ ## [0.11.0.0] - 2022-06-28 ### Changed
output-test/Spec.hs view
@@ -31,10 +31,10 @@ main = do settings <- getSettings testForest <- execTestDefM settings spec- _ <- runSpecForestInterleavedWithOutputSynchronously settings testForest- _ <- runSpecForestInterleavedWithOutputAsynchronously settings 8 testForest rf1 <- timeItT $ runSpecForestSynchronously settings testForest printOutputSpecForest settings rf1+ _ <- runSpecForestInterleavedWithOutputSynchronously settings testForest+ _ <- runSpecForestInterleavedWithOutputAsynchronously settings 8 testForest rf2 <- timeItT $ runSpecForestAsynchronously settings 8 testForest printOutputSpecForest settings rf2 pure ()
src/Test/Syd/Def/SetupFunc.hs view
@@ -69,8 +69,8 @@ setupAround :: SetupFunc inner -> TestDefM outers inner result ->- TestDefM outers () result-setupAround setupFunc = setupAroundWith $ \() -> setupFunc+ TestDefM outers any result+setupAround setupFunc = setupAroundWith $ \_ -> setupFunc -- | Use 'aroundWith' with a 'SetupFunc' setupAroundWith ::
sydtest.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: sydtest-version: 0.11.0.0+version: 0.11.0.1 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