integration_test_driver library

Properties

testOutputsDirectory String
Flutter Driver test output directory.
no setter

Functions

integrationDriver({Duration timeout = const Duration(minutes: 20), ResponseDataCallback? responseDataCallback = writeResponseData, bool writeResponseOnFailure = false}) 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.