Idris2Doc : Test.Mini

Test.Mini

(source)
A minimalistic testing framework with pretty priting
and (not yet implemented) value diffing.

Definitions

recordSuccess : Type->Type->Type
  A successful test case

Totality: total
Visibility: public export
Constructor: 
MkSuccess : i->o->Successio

Projections:
.input : Successio->i
.result : Successio->o

Hints:
Eqi=>Eqo=>Eq (Successio)
Generic (Successio) [[i, o]]
Generic (Resultio) [[List (Successio), List (Failureio)]]
Meta (Successio) [[i, o]]
Meta (Resultio) [[List (Successio), List (Failureio)]]
PrettyVali=>PrettyValo=>PrettyVal (Successio)
Showi=>Showo=>Show (Successio)
.input : Successio->i
Visibility: public export
input : Successio->i
Visibility: public export
.result : Successio->o
Visibility: public export
result : Successio->o
Visibility: public export
recordFailure : Type->Type->Type
  A failed test case

Totality: total
Visibility: public export
Constructor: 
MkFailure : i->o->o->Failureio

Projections:
.expected : Failureio->o
.input : Failureio->i
.result : Failureio->o

Hints:
Eqi=>Eqo=>Eq (Failureio)
Generic (Failureio) [[i, o, o]]
Generic (Resultio) [[List (Successio), List (Failureio)]]
Meta (Failureio) [[i, o, o]]
Meta (Resultio) [[List (Successio), List (Failureio)]]
PrettyVali=>PrettyValo=>PrettyVal (Failureio)
Showi=>Showo=>Show (Failureio)
.input : Failureio->i
Visibility: public export
input : Failureio->i
Visibility: public export
.result : Failureio->o
Visibility: public export
result : Failureio->o
Visibility: public export
.expected : Failureio->o
Visibility: public export
expected : Failureio->o
Visibility: public export
recordResult : Type->Type->Type
Totality: total
Visibility: public export
Constructor: 
MkResult : List (Successio) ->List (Failureio) ->Resultio

Projections:
.failed : Resultio->List (Failureio)
.ok : Resultio->List (Successio)

Hints:
Eqi=>Eqo=>Eq (Resultio)
Generic (Resultio) [[List (Successio), List (Failureio)]]
Meta (Resultio) [[List (Successio), List (Failureio)]]
Monoidi=>Monoido=>Monoid (Resultio)
Monoid (Resultio)
Semigroupi=>Semigroupo=>Semigroup (Resultio)
Semigroup (Resultio)
Showi=>Showo=>Show (Resultio)
.ok : Resultio->List (Successio)
Visibility: public export
ok : Resultio->List (Successio)
Visibility: public export
.failed : Resultio->List (Failureio)
Visibility: public export
failed : Resultio->List (Failureio)
Visibility: public export
run : Foldablet=> (i->Either (Failureio) (Successio)) ->ti->Resultio
Visibility: public export
runEq : (Foldablet, Eqo) => (i->o) ->t (i, o) ->Resultio
Visibility: public export
foreground : Color->String->String
Visibility: export
greenOk : String
Visibility: export
redFailed : String
Visibility: export
spaces : String
Visibility: export
report : PrettyVali=>PrettyValo=>Resultio->IOBool
Visibility: export
testAll : List (IOBool) ->IOBool
Visibility: export