use hspec
This commit is contained in:
parent
7c85063d48
commit
e891e6228a
|
@ -54,4 +54,5 @@ test-suite gemboard-test
|
||||||
build-depends:
|
build-depends:
|
||||||
base >=4.7 && <5
|
base >=4.7 && <5
|
||||||
, gemboard
|
, gemboard
|
||||||
|
, hspec >=2.7.10 && <2.8
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|
|
@ -48,3 +48,4 @@ tests:
|
||||||
- -with-rtsopts=-N
|
- -with-rtsopts=-N
|
||||||
dependencies:
|
dependencies:
|
||||||
- gemboard
|
- gemboard
|
||||||
|
- hspec >= 2.7.10 && < 2.8
|
||||||
|
|
30
test/Spec.hs
30
test/Spec.hs
|
@ -1,2 +1,30 @@
|
||||||
|
{-
|
||||||
|
|
||||||
|
gemboard
|
||||||
|
|
||||||
|
Copyright (C) Jonathan Lamothe <jonathan@jlamothe.net>
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Affero General Public License as
|
||||||
|
published by the Free Software Foundation, either version 3 of the
|
||||||
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful, but
|
||||||
|
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Affero General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Affero General Public
|
||||||
|
License along with this program. If not, see
|
||||||
|
<https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
-}
|
||||||
|
|
||||||
|
module Main (main) where
|
||||||
|
|
||||||
|
import Test.Hspec (hspec)
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = putStrLn "Test suite not yet implemented"
|
main = hspec $ return ()
|
||||||
|
|
||||||
|
--jl
|
||||||
|
|
Loading…
Reference in New Issue
Block a user