testParameters top-level property
ArgParser
testParameters
getter/setter pair
Parameter parser that parses arguments that were passed from command line to Flutter Driver tests
Implementation
ArgParser testParameters = ArgParser()
..addOption(
url,
abbr: url[0],
help: 'Url for dartVmServiceUrl',
)
..addOption(
resolutionArg,
abbr: resolutionArg[0],
help: 'Resolution of the device',
)
..addFlag(
screenshotsArg,
abbr: screenshotsArg[0],
help: 'Use screenshots',
)
..addOption(
languageArg,
abbr: languageArg[0],
defaultsTo: 'en',
help: 'The language of the device',
)
..addOption(
platformArg,
abbr: platformArg[0],
help: 'Overwritten platform of the device',
)
..addOption(
testArg,
help: 'Additional parameters passed from the fastdriver',
);