packages feed

proctest-0.1.3.0: proctest.cabal

name:          proctest
version:       0.1.3.0
license:       MIT
license-file:  LICENSE
author:        Niklas Hambüchen
copyright:     Copyright: (c) 2012 Niklas Hambüchen
maintainer:    Niklas Hambüchen <mail@nh2.me>
category:      Testing
stability:     experimental
homepage:      https://github.com/nh2/proctest
bug-reports:   https://github.com/nh2/proctest/issues
synopsis:      An IO library for testing interactive command line programs
description:   An IO library for testing interactive command line programs
               .
               Proctest aims to simplify interacting with and testing
               terminal programs, providing convenience functions
               for starting programs and reading their output.
               .
               All blocking operations support timeouts so that misbehaving
               programs cannot block your test pipeline.
               .
               Find more examples and contribute at
               <https://github.com/nh2/proctest>.

build-type:    Simple
cabal-version: >= 1.10


library
  default-language: Haskell2010
  exposed-modules:
      Test.Proctest
    , Test.Proctest.Assertions
  build-depends:
      base >= 4 && <= 5
    , process >= 1.1.0.1
    , bytestring
    , text
    , HUnit
  ghc-options:
    -Wall


executable example-netcat-test
  default-language: Haskell2010
  hs-source-dirs:
    ., examples
  main-is:
    netcat-test.hs
  build-depends:
      base >= 4 && <= 5
    , process
    , bytestring
    , text
    , hspec
    , HUnit
    , QuickCheck >= 2.4.2
  ghc-options:
    -threaded -fwarn-unused-imports