DEFAULT static method
Provide a configuration object with default settings such as the reports and feature file location Additional setting on the configuration object can be set on the returned instance.
Implementation
static FlutterTestConfiguration DEFAULT(
Iterable<StepDefinitionGeneric<World>> steps, {
String featurePath = 'integration_test/features/*.*.feature',
String targetAppPath = 'test_driver/integration_test_driver.dart',
}) {
return FlutterTestConfiguration()
..features = [RegExp(featurePath)]
..reporters = [
StdoutReporter(MessageLevel.error),
ProgressReporter(),
TestRunSummaryReporter(),
// JsonReporter(path: './report.json'),
]
..stepDefinitions = steps;
}