1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224
|
cabal-version: 2.0
name: doctest-parallel
version: 0.3.1.1
synopsis: Test interactive Haskell examples
description: The doctest program checks examples in source code comments. It is modeled
after doctest for Python (<https://docs.python.org/3/library/doctest.html>).
.
Documentation is at <https://github.com/martijnbastiaan/doctest-parallel#readme>.
category: Testing
bug-reports: https://github.com/martijnbastiaan/doctest-parallel/issues
homepage: https://github.com/martijnbastiaan/doctest-parallel#readme
license: MIT
license-file: LICENSE
copyright: (c) 2009-2018 Simon Hengel, 2021-2022 Martijn Bastiaan
author: Martijn Bastiaan <martijn@hmbastiaan.nl>
maintainer: Martijn Bastiaan <martijn@hmbastiaan.nl>
build-type: Simple
tested-with:
GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.8
, GHC == 9.4.7
, GHC == 9.6.3
, GHC == 9.8.1
, GHC == 9.10.1
extra-source-files:
example/example.cabal
example/src/Example.hs
example/test/doctests.hs
cabal.project
CHANGES.markdown
README.markdown
-- Rather annoyingly, Cabal implements arbitrary limitations in their file
-- globbing, one of them being that a wildcard can't be used to match
-- directories. Hence, we list them here individually.
test/extract/argument-list/*.hs
test/extract/comment-order/*.hs
test/extract/declaration/*.hs
test/extract/dos-line-endings/*.hs
test/extract/export-list/*.hs
test/extract/imported-module/*.hs
test/extract/module-header/*.hs
test/extract/module-options/*.hs
test/extract/named-chunks/*.hs
test/extract/regression/*.hs
test/extract/setup/*.hs
test/extract/th/*.hs
test/extract/type-class/*.hs
test/extract/type-class-args/*.hs
test/extract/type-families/*.hs
test/parse/multiple-examples/*.hs
test/parse/no-examples/*.hs
test/parse/non-exported/*.hs
test/parse/property/*.hs
test/parse/setup-empty/*.hs
test/parse/setup-only/*.hs
test/parse/simple/*.hs
test/integration/WithCInclude/include/WithCInclude.h
source-repository head
type: git
location: https://github.com/martijnbastiaan/doctest-parallel
library
ghc-options: -Wall
hs-source-dirs: src
exposed-modules:
Test.DocTest
Test.DocTest.Helpers
Test.DocTest.Internal.Extract
Test.DocTest.Internal.GhciWrapper
Test.DocTest.Internal.GhcUtil
Test.DocTest.Internal.Interpreter
Test.DocTest.Internal.Location
Test.DocTest.Internal.Logging
Test.DocTest.Internal.Nix
Test.DocTest.Internal.Options
Test.DocTest.Internal.Parse
Test.DocTest.Internal.Property
Test.DocTest.Internal.Runner
Test.DocTest.Internal.Runner.Example
Test.DocTest.Internal.Util
autogen-modules:
Paths_doctest_parallel
other-modules:
Control.Monad.Extra
Data.List.Extra
Paths_doctest_parallel
build-depends:
Cabal >= 2.4 && < 3.11
, Glob
, base >=4.10 && <5
, base-compat >=0.7.0
, code-page >=0.1
, containers
, deepseq
, directory
, exceptions
, filepath
, ghc >=8.2 && <9.11
, ghc-paths >=0.1.0.9
, process
, random >= 1.2
, syb >=0.3
, transformers
, unordered-containers
default-language: Haskell2010
test-suite doctests
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: doctests.hs
ghc-options: -threaded
build-depends: base, doctest-parallel
default-language: Haskell2010
library spectests-modules
buildable: False
default-language: Haskell2010
build-depends: base, doctest-parallel, template-haskell
-- Too many warnings. TODO: fix.
-- ghc-options: -Wall
hs-source-dirs:
test/integration
include-dirs:
test/integration/WithCInclude/include
c-sources:
test/integration/WithCbits/foo.c
exposed-modules:
BugfixImportHierarchical.ModuleA
BugfixImportHierarchical.ModuleB
BugfixMultipleModules.ModuleA
BugfixMultipleModules.ModuleB
BugfixOutputToStdErr.Fib
Color.Foo
DosLineEndings.Fib
Failing.Foo
FailingMultiple.Foo
GhcArg.Fib
It.Foo
It.Setup
LocalStderrBinding.A
ModuleIsolation.TestA
ModuleIsolation.TestB
ModuleOptions.Foo
NonExposedModule.Exposed
Multiline.Multiline
PropertyBool.Foo
PropertyBoolWithTypeSignature.Foo
PropertyFailing.Foo
PropertyImplicitlyQuantified.Foo
PropertyQuantified.Foo
PropertySetup.Foo
Setup.Foo
SetupSkipOnFailure.Foo
SystemIoImported.A
TemplateHaskell.Foo
TestBlankline.Fib
TestCombinedExample.Fib
TestCommentLocation.Foo
TestDocumentationForArguments.Fib
TestFailOnMultiline.Fib
TestImport.ModuleA
TestImport.ModuleB
TestPutStr.Fib
TestSimple.Fib
TrailingWhitespace.Foo
WithCbits.Bar
WithCInclude.Bar
other-modules:
NonExposedModule.NoImplicitImport
test-suite spectests
main-is: Spec.hs
other-modules:
ExtractSpec
GhciWrapperSpec
InterpreterSpec
LocationSpec
MainSpec
OptionsSpec
ParseSpec
PropertySpec
Runner.ExampleSpec
RunnerSpec
RunSpec
UtilSpec
type: exitcode-stdio-1.0
ghc-options: -Wall -threaded
cpp-options: -DTEST
hs-source-dirs:
test
build-depends:
HUnit
, QuickCheck >=2.13.1
, base
, base-compat
, code-page
, containers
, doctest-parallel
, deepseq
, directory
, exceptions
, filepath
, ghc
, ghc-paths
, hspec >=2.3.0
, hspec-core >=2.3.0
, mockery
, process
, setenv
, silently >=1.2.4
, stringbuilder >=0.4
, spectests-modules
, syb
, transformers
default-language: Haskell2010
|