use HSpec
testing framework
This commit is contained in:
parent
e6076230b0
commit
839620b478
|
@ -58,4 +58,5 @@ test-suite abacus-test
|
||||||
build-depends:
|
build-depends:
|
||||||
abacus
|
abacus
|
||||||
, base >=4.7 && <5
|
, base >=4.7 && <5
|
||||||
|
, hspec >=2.11.9 && <2.12
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{-
|
{-
|
||||||
|
|
||||||
# abacus
|
abacus
|
||||||
|
|
||||||
Copyright (C) Jonathan Lamothe <jonathan@jlamothe.net>
|
Copyright (C) Jonathan Lamothe <jonathan@jlamothe.net>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|
|
@ -56,3 +56,4 @@ tests:
|
||||||
- -with-rtsopts=-N
|
- -with-rtsopts=-N
|
||||||
dependencies:
|
dependencies:
|
||||||
- abacus
|
- abacus
|
||||||
|
- hspec >= 2.11.9 && < 2.12
|
||||||
|
|
27
test/Spec.hs
27
test/Spec.hs
|
@ -1,2 +1,27 @@
|
||||||
|
{-
|
||||||
|
|
||||||
|
abacus
|
||||||
|
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/>.
|
||||||
|
|
||||||
|
-}
|
||||||
|
|
||||||
|
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