This repository has been archived on 2023-06-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2022FuncProg-project3-RPGEn.../test/Spec.hs

18 lines
No EOL
504 B
Haskell

{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
-------------------------- How to use Hspec --------------------------
-- If a test has not yet been written:
-- Use `pending` or `pendingWith`.
-- it "Description" $ do
-- pendingWith "Reason"
-- Temporarily disable running a test:
-- Replace `it` with `xit`
-- xit "Description" $ do ...
-- Temporarily only run a specific test:
-- Put `focus` in front.
-- it "Description" $ do ...
-- becomes
-- focus $ it "Description" $ do ...