e2e_driver library

Properties

testOutputsDirectory String
Flutter Driver test output directory. [...]
read / write

Functions

e2eDriver({Duration timeout: const Duration(minutes: 1), ResponseDataCallback responseDataCallback: writeResponseData}) Future<void>
Adaptor to run E2E test using flutter drive. [...]
main() Future<void>
This method remains for backword compatibility.
writeResponseData(Map<String, dynamic> data, {String testOutputFilename: 'e2e_response_data', String destinationDirectory}) Future<void>
Writes a json-serializable json data to to testOutputsDirectory/testOutputFilename.json. [...]

Typedefs

ResponseDataCallback(Map<String, dynamic>) FutureOr<void>
The callback type to handle e2e.Response.data after the test succcess.