every_test library
Classes
- EveryTestBuilder
- Builder class handling every parameters in order to build and run tests
- EveryTestFinder
- Symbolize a golden test finder, its parameter instance and its expected value
- EveryTestGoldenBuilder
- 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
-
everyTestGolden(
String description, {required EveryTestGoldenCallback of, required List< EveryTestFinder> expects}) → EveryTestGoldenBuilder - Entry point to create a new 'everyTestGloden' series Uses a builder to store every arguments before run the tests
-
finder(
Finder any) → EveryTestFinder - Util method used to instantiate a new Finder with the corresponding parameter
-
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
-
EveryTestGoldenCallback
= Future<
void> Function(WidgetTester tester, dynamic parameter) - Callback type used to call the test code