TestCommand constructor
TestCommand(
- Logger logger
Implementation
TestCommand(Logger logger) : super(logger: logger, tools: []) {
argParser
..addOption('style',
abbr: 's',
allowed: ['gcov', 'lcov'],
defaultsTo: 'gcov',
help: "If coverage is used, determines the output type.")
..addFlag(
'coverage',
abbr: 'c',
defaultsTo: true,
help: "Indicates if code coverage should be calculated or not.",
);
}