From 06b3302862e0c427439136241fb6299f215cec52 Mon Sep 17 00:00:00 2001 From: Danny Navarro Date: Tue, 22 Sep 2015 13:53:37 +0200 Subject: Add kitchen sink parse/encode unit test This also includes the fixes to make it work. Golden tests have been removed. --- graphql.cabal | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'graphql.cabal') 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 -- cgit v1.2.3