integration_test_driver library Null safety
Properties
- testOutputsDirectory ↔ String
-
Flutter Driver test output directory.
read / write
Functions
-
integrationDriver(
{Duration timeout = const Duration(minutes: 20), ResponseDataCallback? responseDataCallback = writeResponseData}) → Future< void> -
Adaptor to run an integration test using
flutter drive
. -
writeResponseData(
Map< String, dynamic> ? data, {String testOutputFilename = 'integration_response_data', String? destinationDirectory}) → Future<void> -
Writes a json-serializable data to
testOutputsDirectory/
testOutputFilename.json
.
Typedefs
-
ResponseDataCallback
= FutureOr<
void> Function(Map<String, dynamic> ?) - The callback type to handle Response.data after the test succeeds.