runTestsWithCoverage function
Implementation
Future runTestsWithCoverage(String packageRoot) async {
final flutterArgs = ['test', '--coverage', ''];
final process = await Process.start('flutter', flutterArgs,
workingDirectory: packageRoot);
print('exit code: ${await process.exitCode}');
}