unit/unit_test library

Classes

EveryTestBuilder
Builder class handling every parameters in order to build and run tests
EveryTestParameter
Symbolize a test parameter instance and its expected value

Functions

everyTest(String description, {required EveryTestCallback of, required List<EveryTestParameter> expects}) EveryTestBuilder
Entry point to create a new 'everytest' series Uses a builder to store every arguments before run the tests
param(dynamic any) EveryTestParameter
Util method used to instantiate a parameter instance

Typedefs

EveryTestCallback = dynamic Function(dynamic parameter)
Callback type used to call the test code