use HSpec testing framework

This commit is contained in:
Jonathan Lamothe 2024-08-20 19:04:10 -04:00
parent e6076230b0
commit 839620b478
4 changed files with 29 additions and 3 deletions

View File

@ -58,4 +58,5 @@ test-suite abacus-test
build-depends:
abacus
, base >=4.7 && <5
, hspec >=2.11.9 && <2.12
default-language: Haskell2010

View File

@ -1,7 +1,6 @@
{-
# abacus
abacus
Copyright (C) Jonathan Lamothe <jonathan@jlamothe.net>
This program is free software: you can redistribute it and/or modify

View File

@ -56,3 +56,4 @@ tests:
- -with-rtsopts=-N
dependencies:
- abacus
- hspec >= 2.11.9 && < 2.12

View File

@ -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 = putStrLn "Test suite not yet implemented"
main = hspec $ return ()
-- jl