expected_output
library
Functions
-
dataCases({required String directory, String extension = 'unit', bool recursive = true})
→ Iterable<DataCase>
-
Parse and return data cases (each a DataCase) from
directory
.
-
dataCasesInFile({required String path, String? baseDir})
→ Iterable<DataCase>
-
Parse and yield data cases (each a DataCase) from
path
.
-
dataCasesUnder({required Symbol library, String subdirectory = '', String extension = 'unit', bool recursive = true})
→ Iterable<DataCase>
-
Parse and yield data cases (each a DataCase) from the directory containing
library
, optionally under subdirectory
.
-
testDataCases({required String directory, String extension = 'unit', bool recursive = true, required void testBody(DataCase dataCase)})
→ void
-
Declare a test for each data case found in
directory
, using testBody
as the test body, with each data case passed to testBody
.
-
testDataCasesUnder({required Symbol library, String subdirectory = '', String extension = 'unit', bool recursive = true, required void testBody(DataCase dataCase)})
→ void
-
Declare a test for each data case found in the directory containing
library
, using testBody
as the test body, with each data case passed to
testBody
.