diff options
| author | Danny Navarro <j@dannynavarro.net> | 2015-09-22 13:53:37 +0200 |
|---|---|---|
| committer | Danny Navarro <j@dannynavarro.net> | 2015-09-22 14:02:49 +0200 |
| commit | 06b3302862e0c427439136241fb6299f215cec52 (patch) | |
| tree | 338b9ecc208b4b25dfeaab61d2d326e6020aa3a8 /graphql.cabal | |
| parent | 45083642667fce8a1f6d1491f3487243416e8cc0 (diff) | |
| download | graphql-06b3302862e0c427439136241fb6299f215cec52.tar.gz | |
Add kitchen sink parse/encode unit test
This also includes the fixes to make it work. Golden tests have been
removed.
Diffstat (limited to 'graphql.cabal')
| -rw-r--r-- | graphql.cabal | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/graphql.cabal b/graphql.cabal index 7b47bd9..a9e7f66 100644 --- a/graphql.cabal +++ b/graphql.cabal @@ -17,7 +17,7 @@ cabal-version: >=1.10 tested-with: GHC == 7.8.4, GHC == 7.10.2 extra-source-files: README.md CHANGELOG.md stack.yaml data-files: tests/data/*.graphql - tests/data/*.graphql.golden + tests/data/*.min.graphql library default-language: Haskell2010 @@ -25,24 +25,23 @@ library exposed-modules: Data.GraphQL.AST Data.GraphQL.Parser Data.GraphQL.Printer - build-depends: base >= 4.7 && < 5, + build-depends: base >=4.7 && < 5, text >=0.11.3.1, attoparsec >=0.10.4.0 --- test-suite golden --- default-language: Haskell2010 --- type: exitcode-stdio-1.0 --- hs-source-dirs: tests --- main-is: golden.hs --- ghc-options: -Wall --- other-modules: Paths_graphql --- build-depends: base >= 4.6 && <5, --- bytestring, --- text, --- attoparsec, --- tasty >=0.10, --- tasty-golden, --- graphql +test-suite tasty + default-language: Haskell2010 + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: tasty.hs + ghc-options: -Wall + other-modules: Paths_graphql + build-depends: base >=4.6 && <5, + text >=0.11.3.1, + attoparsec >=0.10.4.0, + tasty >=0.10, + tasty-hunit >=0.9, + graphql source-repository head type: git |
