expected_output library
Functions
dataCases ({String directory , String extension = 'unit' , bool recursive = true } )
→ Iterable<DataCase >
Parse and return data cases (each a DataCase ) from directory
. [...]
dataCasesInFile ({String path , String baseDir } )
→ Iterable<DataCase >
Parse and yield data cases (each a DataCase ) from path
.
dataCasesUnder ({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 ({String directory , String extension = 'unit' , bool recursive = true , 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 ({Symbol library , String subdirectory = '' , String extension = 'unit' , bool recursive = true , 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
. [...]