Idris2Doc : Evince.Spec

Evince.Spec

(source)

Definitions

describe : String->Speca () ->Speca ()
  Group related specs under a label.

Visibility: export
context : String->Speca () ->Speca ()
  Alias for `describe` — use with "when"/"with" phrasing.

Visibility: export
it : String->TestResult () ->Speca ()
  Define a test case with pure expectations.

Visibility: export
itIO : String->IO (TestResult ()) ->Speca ()
  Define a test case with IO-based expectations.

Visibility: export
itWith : String-> (a->TestResult ()) ->Speca ()
  Define a test case that receives the resource.

Visibility: export
itIOWith : String-> (a->IO (TestResult ())) ->Speca ()
  Define an IO test case that receives the resource.

Visibility: export
itLoc : TTImp->String->TestResult () ->Elab (Speca ())
  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: export
itIOLoc : TTImp->String->IO (TestResult ()) ->Elab (Speca ())
  Define an IO test with source location captured at the call site.
itIOLoc `(()) "test name" $ ioAction

Visibility: export
xit : String->TestResult () ->Speca ()
  Mark a test as pending — the body is ignored and not executed.

Visibility: export
xdescribe : String->Speca () ->Speca ()
  Mark an entire group as pending.

Visibility: export
xcontext : String->Speca () ->Speca ()
  Alias for `xdescribe`.

Visibility: export
fit : String->TestResult () ->Speca ()
  Focus a test — when any focused specs exist, only focused ones run.

Visibility: export
fdescribe : String->Speca () ->Speca ()
  Focus an entire group.

Visibility: export
fcontext : String->Speca () ->Speca ()
  Alias for `fdescribe`.

Visibility: export