-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | integration point of assert4hs and hspec -- -- Please see the README on GitHub at -- https://github.com/githubuser/assert4hs-hspec#readme @package assert4hs-hspec @version 0.1.0 module Test.Fluent.Hspec -- | Execute assertions against given subject under test. assertThat :: HasCallStack => a -> Assertion' a b -> IO () -- | A variant of assertThat which allow to pass additional -- configuration. assertThat' :: HasCallStack => AssertionConfig -> a -> Assertion' a b -> IO () -- | Execute assertions against given subject under test extracted from IO -- action. assertThatIO :: HasCallStack => IO a -> Assertion' a b -> IO () -- | A variant of assertThatIO which allow to pass additional -- configuration. assertThatIO' :: HasCallStack => AssertionConfig -> IO a -> Assertion' a b -> IO () -- | Execute assertions against selected exception assertThrown :: (HasCallStack, Exception e) => IO a -> ExceptionSelector e -> Assertion' e b -> IO () assertThrown' :: (HasCallStack, Exception e) => AssertionConfig -> IO a -> ExceptionSelector e -> Assertion' e b -> IO () -- | Verify if given IO action throws expected exception. assertThrows :: (HasCallStack, Exception e) => IO a -> ExceptionSelector e -> IO () assertThrows' :: (HasCallStack, Exception e) => AssertionConfig -> IO a -> ExceptionSelector e -> IO ()