packages feed

HTF 0.13.2.4 → 0.13.2.5

raw patch · 10 files changed

+36/−8 lines, 10 filesdep ~QuickCheckdep ~aesondep ~basePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: QuickCheck, aeson, base, random

API changes (from Hackage documentation)

- Test.Framework.QuickCheckWrapper: instance GHC.Exception.Exception Test.Framework.QuickCheckWrapper.QCPendingException
- Test.Framework.TestInterface: instance GHC.Exception.Exception Test.Framework.TestInterface.HTFFailureException
+ Test.Framework.Pretty: ($$) :: Doc -> Doc -> Doc
+ Test.Framework.Pretty: ($+$) :: Doc -> Doc -> Doc
+ Test.Framework.Pretty: (<+>) :: Doc -> Doc -> Doc
+ Test.Framework.Pretty: Chr :: {-# UNPACK #-} !Char -> TextDetails
+ Test.Framework.Pretty: LeftMode :: Mode
+ Test.Framework.Pretty: OneLineMode :: Mode
+ Test.Framework.Pretty: PStr :: String -> TextDetails
+ Test.Framework.Pretty: PageMode :: Mode
+ Test.Framework.Pretty: Str :: String -> TextDetails
+ Test.Framework.Pretty: Style :: Mode -> Int -> Float -> Style
+ Test.Framework.Pretty: ZigZagMode :: Mode
+ Test.Framework.Pretty: [lineLength] :: Style -> Int
+ Test.Framework.Pretty: [mode] :: Style -> Mode
+ Test.Framework.Pretty: [ribbonsPerLine] :: Style -> Float
+ Test.Framework.Pretty: braces :: Doc -> Doc
+ Test.Framework.Pretty: brackets :: Doc -> Doc
+ Test.Framework.Pretty: cat :: [Doc] -> Doc
+ Test.Framework.Pretty: char :: Char -> Doc
+ Test.Framework.Pretty: colon :: Doc
+ Test.Framework.Pretty: comma :: Doc
+ Test.Framework.Pretty: data Doc
+ Test.Framework.Pretty: data Mode
+ Test.Framework.Pretty: data Style
+ Test.Framework.Pretty: data TextDetails
+ Test.Framework.Pretty: double :: Double -> Doc
+ Test.Framework.Pretty: doubleQuotes :: Doc -> Doc
+ Test.Framework.Pretty: empty :: Doc
+ Test.Framework.Pretty: equals :: Doc
+ Test.Framework.Pretty: fcat :: [Doc] -> Doc
+ Test.Framework.Pretty: float :: Float -> Doc
+ Test.Framework.Pretty: fsep :: [Doc] -> Doc
+ Test.Framework.Pretty: fullRender :: () => Mode -> Int -> Float -> (TextDetails -> a -> a) -> a -> Doc -> a
+ Test.Framework.Pretty: hang :: Doc -> Int -> Doc -> Doc
+ Test.Framework.Pretty: hcat :: [Doc] -> Doc
+ Test.Framework.Pretty: hsep :: [Doc] -> Doc
+ Test.Framework.Pretty: infixl 5 $$
+ Test.Framework.Pretty: infixl 6 <+>
+ Test.Framework.Pretty: int :: Int -> Doc
+ Test.Framework.Pretty: integer :: Integer -> Doc
+ Test.Framework.Pretty: isEmpty :: Doc -> Bool
+ Test.Framework.Pretty: lbrace :: Doc
+ Test.Framework.Pretty: lbrack :: Doc
+ Test.Framework.Pretty: lparen :: Doc
+ Test.Framework.Pretty: nest :: Int -> Doc -> Doc
+ Test.Framework.Pretty: parens :: Doc -> Doc
+ Test.Framework.Pretty: ptext :: String -> Doc
+ Test.Framework.Pretty: punctuate :: Doc -> [Doc] -> [Doc]
+ Test.Framework.Pretty: quotes :: Doc -> Doc
+ Test.Framework.Pretty: rational :: Rational -> Doc
+ Test.Framework.Pretty: rbrace :: Doc
+ Test.Framework.Pretty: rbrack :: Doc
+ Test.Framework.Pretty: render :: Doc -> String
+ Test.Framework.Pretty: renderStyle :: Style -> Doc -> String
+ Test.Framework.Pretty: rparen :: Doc
+ Test.Framework.Pretty: semi :: Doc
+ Test.Framework.Pretty: sep :: [Doc] -> Doc
+ Test.Framework.Pretty: sizedText :: Int -> String -> Doc
+ Test.Framework.Pretty: space :: Doc
+ Test.Framework.Pretty: style :: Style
+ Test.Framework.Pretty: text :: String -> Doc
+ Test.Framework.Pretty: vcat :: [Doc] -> Doc
+ Test.Framework.Pretty: zeroWidthText :: String -> Doc
+ Test.Framework.QuickCheckWrapper: instance GHC.Exception.Type.Exception Test.Framework.QuickCheckWrapper.QCPendingException
+ Test.Framework.TestInterface: instance GHC.Exception.Type.Exception Test.Framework.TestInterface.HTFFailureException
- Test.Framework.Colors: PrimColorString :: Color -> Text -> (Maybe Text) -> PrimColorString
+ Test.Framework.Colors: PrimColorString :: Color -> Text -> Maybe Text -> PrimColorString
- Test.Framework.HUnitWrapper: data HUnitFailure :: *
+ Test.Framework.HUnitWrapper: data HUnitFailure
- Test.Framework.History: deserializeTestHistory :: ByteString -> Either String (TestHistory)
+ Test.Framework.History: deserializeTestHistory :: ByteString -> Either String TestHistory
- Test.Framework.History: findHistoricSuccessfulTestResult :: Text -> TestHistory -> Maybe (HistoricTestResult)
+ Test.Framework.History: findHistoricSuccessfulTestResult :: Text -> TestHistory -> Maybe HistoricTestResult
- Test.Framework.History: findHistoricTestResult :: Text -> TestHistory -> Maybe (HistoricTestResult)
+ Test.Framework.History: findHistoricTestResult :: Text -> TestHistory -> Maybe HistoricTestResult
- Test.Framework.QuickCheckWrapper: qcAssertion :: (QCAssertion t) => t -> Assertion
+ Test.Framework.QuickCheckWrapper: qcAssertion :: QCAssertion t => t -> Assertion
- Test.Framework.QuickCheckWrapper: withQCArgs :: (Testable a) => (Args -> Args) -> a -> WithQCArgs a
+ Test.Framework.QuickCheckWrapper: withQCArgs :: Testable a => (Args -> Args) -> a -> WithQCArgs a
- Test.Framework.TestTypes: BaseTest :: TestSort -> TestID -> (Maybe Location) -> TestOptions -> Assertion -> Test
+ Test.Framework.TestTypes: BaseTest :: TestSort -> TestID -> Maybe Location -> TestOptions -> Assertion -> Test
- Test.Framework.TestTypes: TestPathCompound :: (Maybe TestID) -> TestPath -> TestPath
+ Test.Framework.TestTypes: TestPathCompound :: Maybe TestID -> TestPath -> TestPath

Files

.travis.yml view
@@ -13,8 +13,9 @@ # The different configurations we want to test. You could also do things like # change flags or use --stack-yaml to point to a different file. env:+- HTF_TRAVIS_STACK_ARGS="--stack-yaml ${TRAVIS_BUILD_DIR}/stack-ghc-8.6.yaml" - HTF_TRAVIS_STACK_ARGS="--stack-yaml ${TRAVIS_BUILD_DIR}/stack-ghc-8.4.yaml"-- HTF_TRAVIS_STACK_ARGS="--stack-yaml ${TRAVIS_BUILD_DIR}/stack.yaml"+- HTF_TRAVIS_STACK_ARGS="--stack-yaml ${TRAVIS_BUILD_DIR}/stack-ghc-8.2.yaml" - HTF_TRAVIS_STACK_ARGS="--stack-yaml ${TRAVIS_BUILD_DIR}/stack-ghc-8.0.yaml" - HTF_TRAVIS_STACK_ARGS="--stack-yaml ${TRAVIS_BUILD_DIR}/stack-ghc-7.10.yaml" 
ChangeLog view
@@ -1,4 +1,10 @@-* 0.13.2.3 (2018-03-31)+* 0.13.2.5 (2018-11-06)+  - fix build problem with quickcheck:+        https://github.com/skogsbaer/HTF/issues/70+  - fix some compiler warnings+  - support for GHC 8.6++* 0.13.2.4 (2018-03-31)   - fix build for ghc 8.4  * 0.13.2.{0,1,2} (2017-08-06)
HTF.cabal view
@@ -1,5 +1,5 @@ Name:             HTF-Version:          0.13.2.4+Version:          0.13.2.5 License:          LGPL-2.1 License-File:     LICENSE Copyright:        (c) 2005-2015 Stefan Wehr@@ -40,7 +40,9 @@   stack.yaml   stack-ghc-7.10.yaml   stack-ghc-8.0.yaml+  stack-ghc-8.2.yaml   stack-ghc-8.4.yaml+  stack-ghc-8.6.yaml   tests/bbt/should_fail/BBTArgs   tests/bbt/should_fail/*.err   tests/bbt/should_fail/*.out@@ -107,7 +109,7 @@   Build-Depends:    Diff >= 0.3,                     HUnit >= 1.2.5,                     QuickCheck >= 2.3,-                    aeson < 0.10 || >= 0.11,+                    aeson >= 0.11,                     array,                     base == 4.*,                     base64-bytestring,
Test/Framework/HUnitWrapper.hs view
@@ -118,7 +118,9 @@ import Control.Monad.Trans.Control import Control.Monad.Trans import qualified Test.HUnit.Lang as HU+#if !MIN_VERSION_HUnit(1,4,0) import qualified Test.HUnit.Base as HU+#endif  import Data.List ( (\\) ) import System.IO.Unsafe (unsafePerformIO)
Test/Framework/Preprocessor.hs view
@@ -1,3 +1,4 @@+{-# OPTIONS_GHC -cpp -pgmPcpphs -optP --layout -optP --hashes -optP --cpp #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE BangPatterns #-}@@ -43,7 +44,11 @@                                      tokenise                                    ) import System.IO ( hPutStrLn, stderr )+#if MIN_VERSION_HUnit(1,4,0)+import Test.HUnit hiding (State)+#else import Test.HUnit hiding (State, Location)+#endif import Control.Monad.State.Strict import qualified Data.List as List import Data.Maybe
Test/Framework/QuickCheckWrapper.hs view
@@ -165,7 +165,7 @@                       quickCheckTestFail (Just (adjustOutput msg))                   Right (NoExpectedFailure { output=msg }) ->                       quickCheckTestFail (Just (adjustOutput msg))-#if MIN_VERSION_QuickCheck(2,8,0)+#if MIN_VERSION_QuickCheck(2,8,0) && !MIN_VERSION_QuickCheck(2,12,0)                   Right (InsufficientCoverage { output=msg }) ->                       quickCheckTestFail (Just (adjustOutput msg)) #endif
+ stack-ghc-8.2.yaml view
@@ -0,0 +1,5 @@+resolver: lts-11.22+flags: {}+packages:+- '.'+extra-deps: []
stack-ghc-8.4.yaml view
@@ -1,4 +1,4 @@-resolver: nightly-2018-03-31+resolver: lts-12.17 flags: {} packages: - '.'
+ stack-ghc-8.6.yaml view
@@ -0,0 +1,6 @@+resolver: nightly-2018-11-06+flags: {}+packages:+- '.'+extra-deps:+- haskell-src-1.0.3.0
stack.yaml view
@@ -1,5 +1,6 @@-resolver: lts-11.2+resolver: lts-12.17 flags: {} packages: - '.'-extra-deps: []+extra-deps:+- haskell-src-1.0.3.0