yak_test library

Extensions

MoreOrLessEqualsDurationX on Duration?
mirrors flutte_test matcher MoreOrLessEquals (but typesafe)
MoreOrLessEqualsMaybeIntX on num?
builds on top of MoreOrLessEqualsNumX to allow nullable
MoreOrLessEqualsNumX on num
mirrors flutte_test matcher MoreOrLessEquals (but typesafe)
RunNullaryAsyncTestX on RunNullaryAsync<T>
an extension that generates a basic set of tests for RunNullaryAsync
RunNullarySyncTestX on RunNullarySync<T>
an extension that generates a basic set of tests for RunNullarySync
RunUnaryAsyncTestX on RunUnaryAsync<T, S>
an extension that generates a basic set of tests for RunUnaryAsync
RunUnarySyncTestX on RunUnarySync<T, S>
an extension that generates a basic set of tests for RunUnarySync

Constants

precisionErrorTolerance → const double
the tollerance for moreOrLesEquals

Typedefs

RunNullaryAsyncTest<T> = void Function({NullaryAsync<T> example, String name})
a typedef for a RunNullarySync test function
RunNullarySyncTest<T> = void Function({Nullary<T> example, String name})
a typedef for a RunNullarySync test function
RunUnaryAsyncTest<T, S> = void Function({required UnaryAsync<T, S> example, required String name, required Nullary<S> seed})
a typedef for a RunUnaryAsync test function
RunUnarySyncTest<T, S> = void Function({required Unary<T, S> example, required String name, required Nullary<S> seed})
a typedef for a RunUnarySync test function