onBeforeRun method
Run before any scenario in a test run have executed
Implementation
@override
Future<void> onBeforeRun(TestConfiguration config) async {
if (await Directory(dumpFolderPath).exists()) {
await Directory(dumpFolderPath).delete(recursive: true);
}
await Directory(dumpFolderPath).create();
}