packages feed

hspec-1.2.0.1: hspec.cabal

name:             hspec
version:          1.2.0.1
license:          BSD3
license-file:     LICENSE
copyright:        (c) 2011 Trystan Spangler
author:           Trystan Spangler
maintainer:       trystan.s@comcast.net
build-type:       Simple
cabal-version:    >= 1.8
category:         Testing
stability:        experimental
bug-reports:      https://github.com/hspec/hspec/issues
homepage:         http://hspec.github.com/
synopsis:         Behavior Driven Development for Haskell
description:      Behavior Driven Development for Haskell
                  .
                  Hspec is roughly based on the Ruby library RSpec. However,
                  Hspec is just a framework for running HUnit and QuickCheck
                  tests. Compared to other options, it provides a much nicer
                  syntax that makes tests very easy to read.
                  .
                  Start with the introductory documentation:
                  <http://hspec.github.com/>

source-repository head
  type: git
  location: https://github.com/hspec/hspec

Library
  ghc-options:
      -Wall
  hs-source-dirs:
      src
  build-depends:
      base >= 4 && <= 5
    , silently >= 1.1.1 && < 2
    , ansi-terminal == 0.5.5
    , time < 1.5
    , transformers >= 0.2.0 && < 0.4.0
    , HUnit >= 1 && <= 2
    , QuickCheck >= 2.4.0.1 && <= 2.5
  exposed-modules:
      Test.Hspec
    , Test.Hspec.Core
    , Test.Hspec.Monadic
    , Test.Hspec.Runner
    , Test.Hspec.Formatters
    , Test.Hspec.HUnit
    , Test.Hspec.QuickCheck
  other-modules:
      Test.Hspec.Pending
      Test.Hspec.Internal
      Test.Hspec.Formatters.Internal

test-suite spec
  type:
      exitcode-stdio-1.0
  hs-source-dirs:
      src, test
  main-is:
      Spec.hs
  ghc-options:
      -Wall -Werror
  build-depends:
      base >= 4 && <= 5
    , silently >= 1.1.1 && < 2
    , ansi-terminal == 0.5.5
    , time < 1.5
    , transformers >= 0.2.0 && < 0.4.0
    , HUnit >= 1 && <= 2
    , QuickCheck >= 2.4.0.1 && <= 2.5
    , hspec-shouldbe
    , hspec-discover

test-suite doctests
  main-is:
      doctests.hs
  type:
      exitcode-stdio-1.0
  ghc-options:
      -Wall -Werror -threaded
  hs-source-dirs:
      test
  build-depends:
      base
    , doctest >= 0.7

test-suite example
  type:
      exitcode-stdio-1.0
  main-is:
      Spec.hs
  hs-source-dirs:
      example
  ghc-options:
      -Wall -Werror
  build-depends:
      base
    , hspec
    , HUnit

test-suite example-non-monadic
  type:
      exitcode-stdio-1.0
  main-is:
      NonMonadic.hs
  hs-source-dirs:
      example
  ghc-options:
      -Wall -Werror
  build-depends:
      base
    , hspec
    , HUnit