packages feed

tasty-fail-fast-0.0.2: tasty-fail-fast.cabal

name:                tasty-fail-fast
version:             0.0.2
synopsis:            Adds the ability to fail a tasty test suite on first test failure
description:
  tasty-fail-fast wraps any ingredient to fail as soon as the first test fails. For example:
  .
  @
    defaultMainWithIngredients (map failFast defaultIngredients) tests
  @
  .
  Your test suite will now get a @--fail-fast@ flag.
homepage:            http://github.com/MichaelXavier/tasty-fail-fast#readme
license:             MIT
license-file:        LICENSE
author:              Michael Xavier
maintainer:          michael@michaelxavier.net
copyright:           2015 Michael Xavier
category:            Web
build-type:          Simple
cabal-version:       >=1.10
tested-with:         GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2

extra-source-files:
  README.md
  changelog.md
  test/golden/simple.tap

flag lib-Werror
  default: False
  manual: True


library
  hs-source-dirs:      src
  exposed-modules:     Test.Tasty.Ingredients.FailFast
  build-depends:       base < 5
                     , tasty >= 0.10 && < 0.12
                     , stm >= 2.1
                     , containers >= 0.5.0.0
                     , tagged
  default-language:    Haskell2010

  if flag(lib-Werror)
    ghc-options: -Werror

  ghc-options: -Wall


test-suite test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs:     test
  default-language:   Haskell2010

  build-depends:    base
                  , tasty
                  , tasty-fail-fast
                  , tasty-hunit
                  , tasty-golden
                  , tasty-tap
                  , directory

  if flag(lib-Werror)
    ghc-options: -Werror

  ghc-options: -Wall


source-repository head
  type:     git
  location: https://github.com/MichaelXavier/tasty-fail-fast