tasty 0.4.1.1 → 0.4.2
raw patch · 2 files changed
+9/−2 lines, 2 files
Files
- Test/Tasty.hs +8/−1
- tasty.cabal +1/−1
Test/Tasty.hs view
@@ -9,6 +9,7 @@ -- * Running tests , defaultMain , defaultMainWithIngredients+ , defaultIngredients -- * Adjusting options -- | Normally options are specified on the command line. But you can -- also have different options for different subtrees in the same tree,@@ -22,9 +23,15 @@ import Test.Tasty.Runners import Test.Tasty.Options +-- | List of the default ingredients. This is what 'defaultMain' uses.+--+-- At the moment it consists of 'listingTests' and 'consoleTestReporter'.+defaultIngredients :: [Ingredient]+defaultIngredients = [listingTests, consoleTestReporter]+ -- | Parse the command line arguments and run the tests defaultMain :: TestTree -> IO ()-defaultMain = defaultMainWithIngredients [listingTests, consoleTestReporter]+defaultMain = defaultMainWithIngredients defaultIngredients -- | Locally adjust the option value for the given test subtree adjustOption :: IsOption v => (v -> v) -> TestTree -> TestTree
tasty.cabal view
@@ -2,7 +2,7 @@ -- see http://haskell.org/cabal/users-guide/ name: tasty-version: 0.4.1.1+version: 0.4.2 synopsis: Modern and extensible testing framework description: See <http://documentup.com/feuerbach/tasty> license: MIT