Idris2Doc : Evince.Async.Spec

Evince.Async.Spec

(source)

Definitions

itAsync : String->Asynce [] (TestResult ()) ->Spec (Asynce []) a ()
  Define a test case with an `Async` body, so the test can spawn
fibers, await, and use the full async toolkit.

Visibility: export
itAsyncWith : String-> (a->Asynce [] (TestResult ())) ->Spec (Asynce []) a ()
  Define an `Async` test case that receives the group's resource.

Visibility: export
xitAsync : String-> Lazy (Asynce [] (TestResult ())) ->Spec (Asynce []) a ()
  Mark an `Async` test as pending - the body is ignored and not executed.

Visibility: export
itAsyncLoc : TTImp->String->Asynce [] (TestResult ()) ->Elab (Spec (Asynce []) a ())
  Define an `Async` test with source location captured at the call site.
itAsyncLoc `(()) "test name" $ asyncAction

Visibility: export