Module
Test.Spec.Assertions
- Package
- purescript-spec
- Repository
- purescript-spec/purescript-spec
#AnyShow Source
#expectError Source
expectError :: forall m t. MonadError Error m => m t -> m Unit
#shouldContain Source
shouldContain :: forall m f a. MonadThrow Error m => Show a => Eq a => Show (f a) => Foldable f => f a -> a -> m Unit
#shouldEqual Source
shouldEqual :: forall m t. MonadThrow Error m => Show t => Eq t => t -> t -> m Unit
#shouldNotContain Source
shouldNotContain :: forall m f a. MonadThrow Error m => Show a => Eq a => Show (f a) => Foldable f => f a -> a -> m Unit
#shouldNotEqual Source
shouldNotEqual :: forall m t. MonadThrow Error m => Show t => Eq t => t -> t -> m Unit
#shouldNotReturn Source
shouldNotReturn :: forall m t. MonadThrow Error m => Eq t => Show t => m t -> t -> m Unit
Asserts that m t
does not return t
#shouldNotSatisfy Source
shouldNotSatisfy :: forall m t. MonadThrow Error m => Show t => t -> (t -> Boolean) -> m Unit
#shouldReturn Source
shouldReturn :: forall m t. MonadThrow Error m => Eq t => Show t => m t -> t -> m Unit
Asserts that m t
returns t
#shouldSatisfy Source
shouldSatisfy :: forall m t. MonadThrow Error m => Show t => t -> (t -> Boolean) -> m Unit
- Modules
- Test.
Spec - Test.
Spec. Assertions - Test.
Spec. Assertions. String - Test.
Spec. Config - Test.
Spec. Console - Test.
Spec. Reporter - Test.
Spec. Reporter. Base - Test.
Spec. Reporter. Console - Test.
Spec. Reporter. Dot - Test.
Spec. Reporter. Spec - Test.
Spec. Reporter. Tap - Test.
Spec. Reporter. TeamCity - Test.
Spec. Result - Test.
Spec. Runner - Test.
Spec. Runner. Event - Test.
Spec. Speed - Test.
Spec. Style - Test.
Spec. Summary - Test.
Spec. Tree