doctest-0.22.2: doctest.cabal
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
name: doctest
version: 0.22.2
synopsis: Test interactive Haskell examples
description: `doctest` is a tool that checks [examples](https://www.haskell.org/haddock/doc/html/ch03s08.html#idm140354810775744)
and [properties](https://www.haskell.org/haddock/doc/html/ch03s08.html#idm140354810771856)
in Haddock comments.
It is similar in spirit to the [popular Python module with the same name](https://docs.python.org/3/library/doctest.html).
.
Documentation is at <https://github.com/sol/doctest#readme>.
category: Testing
bug-reports: https://github.com/sol/doctest/issues
homepage: https://github.com/sol/doctest#readme
license: MIT
license-file: LICENSE
copyright: (c) 2009-2023 Simon Hengel
author: Simon Hengel <sol@typeful.net>
maintainer: Simon Hengel <sol@typeful.net>
build-type: Simple
extra-source-files:
example/example.cabal
example/src/Example.hs
example/test/doctests.hs
test/parse/multiple-examples/Foo.hs
test/parse/no-examples/Fib.hs
test/parse/non-exported/Fib.hs
test/parse/property/Fib.hs
test/parse/setup-empty/Foo.hs
test/parse/setup-only/Foo.hs
test/parse/simple/Fib.hs
test/extract/argument-list/Foo.hs
test/extract/comment-order/Foo.hs
test/extract/declaration/Foo.hs
test/extract/dos-line-endings/Foo.hs
test/extract/export-list/Foo.hs
test/extract/imported-module/Bar.hs
test/extract/imported-module/Baz.hs
test/extract/module-header/Foo.hs
test/extract/named-chunks/Foo.hs
test/extract/regression/Fixity.hs
test/extract/regression/ForeignImport.hs
test/extract/regression/ParallelListComp.hs
test/extract/regression/ParallelListCompClass.hs
test/extract/regression/RewriteRules.hs
test/extract/regression/RewriteRulesWithSigs.hs
test/extract/setup/Foo.hs
test/extract/th/Bar.hs
test/extract/th/Foo.hs
test/extract/type-class-args/Foo.hs
test/extract/type-class/Foo.hs
test/extract/type-families/Foo.hs
test/integration/bugfixImportHierarchical/ModuleA.hs
test/integration/bugfixImportHierarchical/ModuleB.hs
test/integration/bugfixMultipleModules/ModuleA.hs
test/integration/bugfixMultipleModules/ModuleB.hs
test/integration/bugfixOutputToStdErr/Fib.hs
test/integration/bugfixWorkingDirectory/description
test/integration/bugfixWorkingDirectory/examples/Fib.hs
test/integration/bugfixWorkingDirectory/Fib.hs
test/integration/color/Foo.hs
test/integration/custom-package-conf/Bar.hs
test/integration/custom-package-conf/foo/doctest-foo.cabal
test/integration/custom-package-conf/foo/Foo.hs
test/integration/dos-line-endings/Fib.hs
test/integration/failing-multiple/Foo.hs
test/integration/failing/Foo.hs
test/integration/it/Foo.hs
test/integration/it/Setup.hs
test/integration/local-stderr-binding/A.hs
test/integration/multiline/Multiline.hs
test/integration/parse-error/Foo.hs
test/integration/property-bool-with-type-signature/Foo.hs
test/integration/property-bool/Foo.hs
test/integration/property-failing/Foo.hs
test/integration/property-implicitly-quantified/Foo.hs
test/integration/property-quantified/Foo.hs
test/integration/property-setup/Foo.hs
test/integration/setup-skip-on-failure/Foo.hs
test/integration/setup/Foo.hs
test/integration/system-io-imported/A.hs
test/integration/template-haskell-bugfix/Main.hs
test/integration/template-haskell-bugfix/Printf.hs
test/integration/template-haskell/Foo.hs
test/integration/test-options/Foo.hs
test/integration/testBlankline/Fib.hs
test/integration/testCombinedExample/Fib.hs
test/integration/testCommentLocation/Foo.hs
test/integration/testCPP/Foo.hs
test/integration/testDocumentationForArguments/Fib.hs
test/integration/testFailOnMultiline/Fib.hs
test/integration/testImport/ModuleA.hs
test/integration/testImport/ModuleB.hs
test/integration/testPutStr/Fib.hs
test/integration/testSimple/Fib.hs
test/integration/trailing-whitespace/Foo.hs
test/integration/with-cbits/Bar.hs
test/integration/with-cbits/foo.c
CHANGES.markdown
README.md
source-repository head
type: git
location: https://github.com/sol/doctest
library
ghc-options: -Wall
hs-source-dirs:
src
default-extensions:
NamedFieldPuns
RecordWildCards
DeriveFunctor
NoImplicitPrelude
exposed-modules:
Test.DocTest
Test.DocTest.Internal.Extract
Test.DocTest.Internal.Location
Test.DocTest.Internal.Parse
Test.DocTest.Internal.Run
other-modules:
Extract
GhcUtil
Imports
Info
Interpreter
Language.Haskell.GhciWrapper
Location
Options
PackageDBs
Parse
Property
Run
Runner
Runner.Example
Util
Paths_doctest
build-depends:
base >=4.5 && <5
, code-page >=0.1
, deepseq
, directory
, exceptions
, filepath
, ghc >=8.0 && <9.10
, ghc-paths >=0.1.0.9
, process
, syb >=0.3
, transformers
default-language: Haskell2010
if impl(ghc >= 9.8)
ghc-options: -fno-warn-x-partial
executable doctest
main-is: Main.hs
other-modules:
Paths_doctest
ghc-options: -Wall -threaded
hs-source-dirs:
driver
default-extensions:
NamedFieldPuns
RecordWildCards
DeriveFunctor
NoImplicitPrelude
build-depends:
base >=4.5 && <5
, code-page >=0.1
, deepseq
, directory
, doctest
, exceptions
, filepath
, ghc >=8.0 && <9.10
, ghc-paths >=0.1.0.9
, process
, syb >=0.3
, transformers
default-language: Haskell2010
if impl(ghc >= 9.8)
ghc-options: -fno-warn-x-partial
test-suite spec
main-is: Spec.hs
other-modules:
ExtractSpec
InfoSpec
InterpreterSpec
Language.Haskell.GhciWrapperSpec
LocationSpec
MainSpec
OptionsSpec
PackageDBsSpec
ParseSpec
PropertySpec
Runner.ExampleSpec
RunnerSpec
RunSpec
UtilSpec
Extract
GhcUtil
Imports
Info
Interpreter
Language.Haskell.GhciWrapper
Location
Options
PackageDBs
Parse
Property
Run
Runner
Runner.Example
Test.DocTest
Test.DocTest.Internal.Extract
Test.DocTest.Internal.Location
Test.DocTest.Internal.Parse
Test.DocTest.Internal.Run
Util
Paths_doctest
type: exitcode-stdio-1.0
ghc-options: -Wall -threaded
cpp-options: -DTEST
hs-source-dirs:
test
src
default-extensions:
NamedFieldPuns
RecordWildCards
DeriveFunctor
NoImplicitPrelude
c-sources:
test/integration/with-cbits/foo.c
build-tool-depends:
hspec-discover:hspec-discover
build-depends:
HUnit
, QuickCheck >=2.13.1
, base >=4.5 && <5
, code-page >=0.1
, deepseq
, directory
, exceptions
, filepath
, ghc >=8.0 && <9.10
, ghc-paths >=0.1.0.9
, hspec >=2.3.0
, hspec-core >=2.3.0
, mockery
, process
, setenv
, silently >=1.2.4
, stringbuilder >=0.4
, syb >=0.3
, transformers
default-language: Haskell2010
if impl(ghc >= 9.8)
ghc-options: -fno-warn-x-partial