{-# 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 ...