main function
Implementation
Future<void> main([List<String> args = const <String>[]]) async {
if (isJustHelpArgs(args)) {
printTestCliTitle();
BonesUITestRunner().showHelp();
return;
}
BonesUITestRunner bonesUITestRunner;
try {
bonesUITestRunner = BonesUITestRunner(args: args);
} catch (e) {
print('** ERROR Parsing Bones_UI Test Tool ARGS: $args');
print('-- See `bones_ui test -h` OR `dart test -h` for test parameters.');
print(e);
exit(1);
}
printTestCliTitle(testPlatform: bonesUITestRunner.platform);
await bonesUITestRunner.execute();
}