doTest method
Implementation
Future<void> doTest() async {
for (dynamic t in tests.keys) {
print('Testing: ' + t);
bool ready = await setup();
expect(ready, true);
if (!ready) {
print('Error while setting up: ' + t);
return;
}
await tests[t]();
bool finish = await clear();
expect(finish, true);
if (!finish) {
print('Error while finishing: ' + t);
return;
}
}
}