-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A lightweight implementation of a subset of Hspec's API -- -- A lightweight implementation of a subset of Hspec's API with minimal -- dependencies. @package nanospec @version 0.2.2 -- | A lightweight implementation of a subset of Hspec's API. module Test.Hspec data SpecM a type Spec = SpecM () describe :: String -> Spec -> Spec context :: String -> Spec -> Spec it :: String -> Expectation -> Spec type Expectation = IO () expect :: String -> Bool -> Expectation shouldBe :: (Show a, Eq a) => a -> a -> Expectation infix 1 `shouldBe` shouldReturn :: (Show a, Eq a) => IO a -> a -> Expectation infix 1 `shouldReturn` hspec :: Spec -> IO () instance GHC.Classes.Eq Test.Hspec.ExpectationFailure instance GHC.Show.Show Test.Hspec.ExpectationFailure instance GHC.Show.Show Test.Hspec.Result instance GHC.Classes.Eq Test.Hspec.Result instance GHC.Exception.Exception Test.Hspec.ExpectationFailure instance GHC.Base.Monoid Test.Hspec.Summary instance GHC.Base.Functor Test.Hspec.SpecM instance GHC.Base.Applicative Test.Hspec.SpecM instance GHC.Base.Monad Test.Hspec.SpecM