describe : String -> Spec m a () -> Spec m a () Group related specs under a label.
Visibility: exportcontext : String -> Spec m a () -> Spec m a () Alias for `describe` - use with "when"/"with" phrasing.
Visibility: exportit : Applicative m => String -> Lazy (TestResult ()) -> Spec m a () Define a test case with pure expectations. The body is lazy, so it is
evaluated when the test runs, not when the spec is built.
Visibility: exportitIO : HasIO m => String -> IO (TestResult ()) -> Spec m a () Define a test case with IO-based expectations.
Visibility: exportitWith : Applicative m => String -> (a -> TestResult ()) -> Spec m a () Define a test case that receives the resource.
Visibility: exportitIOWith : HasIO m => String -> (a -> IO (TestResult ())) -> Spec m a () Define an IO test case that receives the resource.
Visibility: exportitLoc : Applicative m => TTImp -> String -> Lazy (TestResult ()) -> Elab (Spec m a ()) Define a test with source location captured at the call site.
Pass a dummy quasiquoted value as the first argument:
itLoc `(()) "test name" $ expectation
Visibility: exportitIOLoc : HasIO m => TTImp -> String -> IO (TestResult ()) -> Elab (Spec m a ()) Define an IO test with source location captured at the call site.
itIOLoc `(()) "test name" $ ioAction
Visibility: exportxit : String -> Lazy (TestResult ()) -> Spec m a () Mark a test as pending - the body is ignored and not executed.
Visibility: exportxitIO : String -> Lazy (IO (TestResult ())) -> Spec m a () Mark an IO test as pending - the body is ignored and not executed.
Visibility: exportxdescribe : String -> Spec m a () -> Spec m a () Mark an entire group as pending - every test in it is reported as
pending and nothing is executed.
Visibility: exportxcontext : String -> Spec m a () -> Spec m a () Alias for `xdescribe`.
Visibility: exportfit : Applicative m => String -> Lazy (TestResult ()) -> Spec m a () Focus a test - when any focused specs exist, only focused ones run.
Visibility: exportfdescribe : String -> Spec m a () -> Spec m a () Focus an entire group.
Visibility: exportfcontext : String -> Spec m a () -> Spec m a () Alias for `fdescribe`.
Visibility: exportfocus : Spec m a () -> Spec m a () Focus every test in the given spec - composes with any test or group
combinator (`itIO`, `itAsync`, `describe`, ...).
Visibility: export