on master help sign in
Add empty tests
commit1b244f87da2f919c34c299d1cb4faa7022ce9ea2 authorSridhar Ratnakumar <srid@srid.ca> dateFri 31 Jul 2020, 17:55 (6 years ago) parent3a3bd4a
4 files changed+22
bin/test+3 jrec.cabal+10 test/JRecSpec.hs+7 test/Spec.hs+2
bin/testnew file+3
@@ -0,0 +1,3 @@
1+#!/usr/bin/env bash
2+set -xe
3+nix-shell --pure --run "ghcid $* -c 'cabal new-repl test:jrec-test' -T \":main $*\""
jrec.cabal+10
@@ -66,3 +66,13 @@ library
6666 , text
6767
6868 default-language: Haskell2010
69+
70+test-suite jrec-test
71+ type: exitcode-stdio-1.0
72+ hs-source-dirs: test
73+ main-is: Spec.hs
74+ build-depends:
75+ base,
76+ hspec,
77+ QuickCheck
78+ default-language: Haskell2010
test/JRecSpec.hsnew file+7
@@ -0,0 +1,7 @@
1+module JRecSpec (spec) where
2+
3+import Test.Hspec
4+
5+spec :: Spec
6+spec = do
7+ pure ()
test/Spec.hsnew file+2
@@ -0,0 +1,2 @@
1+{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
2+