testingStep function
Prompts for testing configuration.
Implementation
Future<TestingConfig> testingStep() async {
final options = ['Unit tests', 'Widget tests', 'Integration tests'];
final selected = MultiSelect(
prompt: 'Testing (space to select, enter to confirm)',
options: options,
defaults: [true, false, false],
).interact();
return TestingConfig(
unit: selected.contains(0),
widget: selected.contains(1),
integration: selected.contains(2),
);
}