HTF 0.10.0.3 → 0.10.0.4
raw patch · 4 files changed
+28/−7 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- HTF.cabal +3/−1
- TODO.org +5/−6
- tests/compile-errors/Test3.hs +10/−0
- tests/compile-errors/Test4.hs +10/−0
HTF.cabal view
@@ -1,5 +1,5 @@ Name: HTF-Version: 0.10.0.3+Version: 0.10.0.4 License: LGPL License-File: LICENSE Copyright: (c) 2005-2012 Stefan Wehr@@ -114,6 +114,8 @@ tests/compile-errors/run-tests.sh tests/compile-errors/Test1.hs tests/compile-errors/Test2.hs+ tests/compile-errors/Test3.hs+ tests/compile-errors/Test4.hs sample/LICENSE sample/Main.hs sample/MyPkg/A.hs
TODO.org view
@@ -1,12 +1,11 @@ * Relase 0.11+** Fallback parser+*** Use the lexer of haskell-src-exts ** Parallel test execution *** Options --threads=[N] or -j [N] *** Some test cannot be run in parallel ** Support for timeouts (--timeout=SECS)-** Proper test suite-* External interface for integrating other test frameworks-** Support for Smallcheck and/or Lazy Smallcheck-** Configuration file for htfpp-* Other ideas-** option --xml-result to output a junit-style XML document summarizing the test results+** External interface for integrating other test frameworks+*** Support for Smallcheck and/or Lazy Smallcheck+*** Configuration file for htfpp
+ tests/compile-errors/Test3.hs view
@@ -0,0 +1,10 @@+{-# OPTIONS_GHC -F -pgmF ../../dist/build/htfpp/htfpp #-}++import Test.Framework++-- error must be in line 7+test_foo :: Int+test_foo = 5++main :: IO ()+main = return ()
+ tests/compile-errors/Test4.hs view
@@ -0,0 +1,10 @@+{-# OPTIONS_GHC -F -pgmF ../../dist/build/htfpp/htfpp #-}++import Test.Framework+data D = D+-- error must be in line 7+prop_foo :: D -> Bool+prop_foo _ = False++main :: IO ()+main = return ()