tested library

Functions

expectTestCase<T>(FutureOr<T> tfunc(), T expct, [bool? error]) TestCase
Returns a TestCase that tries to run tfunc.
testAssert(bool b) TestCase
Returns a TestCase that calls assert with the given argument.
testExpect<T>(T actual, T matcher, {String? reason, Object? skip}) TestCase
Returns a TestCase that calls expect with the given arguments.
tests(Iterable<TestCase> testCases, [String? groupName, TestCase? setup]) → void
Runs all testCases inside a group called groupName.

Typedefs

TestCase = FutureOr<void> Function()

Exceptions / Errors

NotThrownError
Thrown by expectTestCase, when it expected an error, but didn't get one.