diff --git a/test/ActionsSpec.hs b/test/ActionsSpec.hs new file mode 100644 index 0000000..3478a6e --- /dev/null +++ b/test/ActionsSpec.hs @@ -0,0 +1,35 @@ +{- + +mtlstats +Copyright (C) 2019 Rhéal Lamothe + + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU 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 +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +-} + +module ActionsSpec (spec) where + +import Test.Hspec (Spec, describe) + +spec :: Spec +spec = describe "Mtlstats.Actions" $ do + startSeasonSpec + startGameSpec + +startSeasonSpec :: Spec +startSeasonSpec = describe "startSeason" $ return () + +startGameSpec :: Spec +startGameSpec = describe "startGame" $ return () diff --git a/test/Spec.hs b/test/Spec.hs index e758ceb..aa86ce6 100644 --- a/test/Spec.hs +++ b/test/Spec.hs @@ -1,6 +1,30 @@ +{- + +mtlstats +Copyright (C) 2019 Rhéal Lamothe + + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU 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 +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +-} + import Test.Hspec (hspec) +import qualified ActionsSpec as Actions import qualified TypesSpec as Types main :: IO () -main = hspec Types.spec +main = hspec $ do + Types.spec + Actions.spec diff --git a/test/TypesSpec.hs b/test/TypesSpec.hs index c3c10a8..0bbcb58 100644 --- a/test/TypesSpec.hs +++ b/test/TypesSpec.hs @@ -1,3 +1,24 @@ +{- + +mtlstats +Copyright (C) 2019 Rhéal Lamothe + + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU 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 +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +-} + {-# LANGUAGE OverloadedStrings, QuasiQuotes #-} module TypesSpec (spec) where