yak_test library
Extensions
- MoreOrLessEqualsDurationX on Duration?
-
mirrors
flutte_test
matcherMoreOrLessEquals
(but typesafe) - MoreOrLessEqualsMaybeIntX on num?
-
builds on top of
MoreOrLessEqualsNumX
to allow nullable - MoreOrLessEqualsNumX on num
-
mirrors
flutte_test
matcherMoreOrLessEquals
(but typesafe) -
ResultNullaryAsyncTestX
on ResultNullaryAsync<
T> -
an
extension
that generates a basic set of tests forResultNullaryAsync
-
ResultNullaryTestX
on ResultNullary<
T> -
an
extension
that generates a basic set of tests forResultNullary
-
ResultUnaryAsyncTestX
on ResultUnaryAsync<
T, S> -
an
extension
that generates a basic set of tests forResultUnaryAsync
-
ResultUnaryTestX
on ResultUnary<
T, S> -
an
extension
that generates a basic set of tests forResultUnary
Constants
- precisionErrorTolerance → const double
-
the tollerance for
moreOrLesEquals
Functions
-
constructorTester<
T> (Nullary< T> tester) → void - ensure coverage of a class contructor
-
equalityTest<
T> (Nullary< T> tester, Nullary<T> other) → void -
ensure
tester
over deep equality
Typedefs
-
ResultNullaryAsyncTest<
T> = void Function({NullaryAsync< T> example, String name}) -
a
typedef
for aResultNullary
test function -
ResultNullaryTest<
T> = void Function({Nullary< T> example, String name}) -
a
typedef
for aResultNullary
test function -
ResultUnaryAsyncTest<
T, S> = void Function({required UnaryAsync< T, S> example, required String name, required Nullary<S> seed}) -
a
typedef
for aResultUnaryAsync
test function -
ResultUnaryTest<
T, S> = void Function({required Unary< T, S> example, required String name, required Nullary<S> seed}) -
a
typedef
for aResultUnary
test function