TestRunnerCommand constructor
TestRunnerCommand({
- TestRunner? testRunner,
- ExitWrapper? exitWrapper,
Implementation
TestRunnerCommand({TestRunner? testRunner, ExitWrapper? exitWrapper})
: _testRunner = testRunner ?? TestRunner(),
_exitWrapper = exitWrapper ?? ExitWrapper() {
argParser
..addOption(
'shard-index',
help: '(Optional) Index of the shard',
)
..addOption('shard-count', help: '(Optional) Total count of shards')
..addOption(
'seed',
help: '(Optional) Number used to randomize test groups.',
)
..addOption(
'result-path',
help:
'(Optional) Path to the results tests. It will contains machine results of test.',
)
..addOption(
'coverage-path',
help: '(Optional) Path to coverage file.',
)
..addFlag(
'coverage',
help: '(Optional) Should test be run with coverage.',
)
..addOption(
'test-path',
help: 'Path to the tests.',
)
..addFlag(
'keep-generated-test-groups',
help: '(Optional) Should keep test generated groups.',
);
}