use hspec
This commit is contained in:
parent
d9b41cdc66
commit
95e875d799
|
@ -42,4 +42,5 @@ test-suite gemserv-test
|
|||
build-depends:
|
||||
base >=4.7 && <5
|
||||
, gemserv
|
||||
, hspec >=2.7.10 && <2.8
|
||||
default-language: Haskell2010
|
||||
|
|
|
@ -37,3 +37,4 @@ tests:
|
|||
- -with-rtsopts=-N
|
||||
dependencies:
|
||||
- gemserv
|
||||
- hspec >= 2.7.10 && < 2.8
|
||||
|
|
30
test/Spec.hs
30
test/Spec.hs
|
@ -1,2 +1,30 @@
|
|||
{-
|
||||
|
||||
gemserv
|
||||
|
||||
Cooyright (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 = putStrLn "Test suite not yet implemented"
|
||||
main = hspec $ return ()
|
||||
|
||||
--jl
|
||||
|
|
Loading…
Reference in New Issue
Block a user