packages feed

shelltestrunner-1.11: shelltestrunner.cabal

cabal-version: 3.0
name:          shelltestrunner
-- keep synced: shelltest.hs
version:       1.11
synopsis:      Easy, repeatable testing of CLI programs/commands
description:
  shelltestrunner (executable: shelltest) is a portable
  command-line tool for testing command-line programs, or general shell
  commands, released under GPLv3+.  It reads simple test specifications
  defining a command to run, some input, and the expected output,
  stderr, and exit status.  It can run tests in parallel, selectively,
  with a timeout, in color, etc.
category:      Testing
stability:     stable
homepage:      https://github.com/simonmichael/shelltestrunner
bug-reports:   https://github.com/simonmichael/shelltestrunner/issues
author:        Simon Michael <simon@joyful.com>
maintainer:    Simon Michael <simon@joyful.com>
copyright:     Copyright: (c) 2009-2025 Simon Michael and contributors
license:       GPL-3.0-or-later
license-file:  LICENSE
build-type:    Simple
tested-with:   ghc==9.6, ghc==9.8, ghc==9.10, ghc==9.12

extra-source-files:
  ANNOUNCE
  Makefile
  README.md
  stack96.yaml
  stack98.yaml
  stack910.yaml
  stack.yaml
  tests/README
  tests/bash/*.test
  tests/examples/*.test
  tests/examples/README
  tests/format1.unix/*.test
  tests/format1.windows/*.test
  tests/format1/*.test
  tests/format1/abstract-test-with-macros
  tests/format1/one-failing-test
  tests/format2.unix/*.test
  tests/format2.windows/*.test
  tests/format2/*.test
  tests/format2/abstract-test-with-macros
  tests/format2/one-failing-test
  tests/format3.unix/*.test
  tests/format3.windows/*.test
  tests/format3/*.test
  tests/format3/abstract-test-with-macros

  tests/format3/one-failing-test

-- These are also copied to haddock docs.
extra-doc-files:
  CHANGES

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

executable shelltest
  hs-source-dirs: src
  main-is: shelltest.hs
  default-language: Haskell2010
  ghc-options: -threaded -W -fwarn-tabs
  other-modules:
    Import
    Parse
    Preprocessor
    Print
    Types
    Utils
    Utils.Debug

  build-depends:
      base                 >= 4     && < 5
    , Diff                 >= 0.2.0
    , filemanip            >= 0.3
    , HUnit
    , cmdargs              >= 0.7
    , directory            >= 1.0
    , filepath             >= 1.0
    , parsec
    , pretty-show          >= 1.6.5
    , process
    , regex-tdfa           >= 1.1
    , safe
    , test-framework       >= 0.3.2
    , test-framework-hunit >= 0.2
    , utf8-string          >= 0.3.5
    , hspec                >=2.9.0
    , hspec-core           >=2.9.0
    , hspec-contrib        >=0.5.1.1