tools
tools copied to clipboard
--test param throws error when args are added (--test="test --concurrency=1")
The --test
param seems to throw errors if args are added.
I am attempting to set the concurrency of my dart test
command to a concurrency of 1.
command:
dart run coverage:test_with_coverage --test="test --concurrency=1"
output:
> dart run coverage:test_with_coverage --test="test --concurrency=1"
Observatory listening on http://127.0.0.1:8181/
The Dart DevTools debugger and profiler is available at: http://127.0.0.1:8181/devtools/#/?uri=ws%3A%2F%2F127.0.0.1%3A8181%2Fws
Could not find package `test --concurrency=1` or file `test --concurrency=1`
Unhandled exception:
ProcessException:
Command: dart run --pause-isolates-on-exit --disable-service-auth-codes --enable-vm-service=8181 test --concurrency=1
#0 _dartRun (file:///Users/micaiah.skolnick/.pub-cache/hosted/pub.dartlang.org/coverage-1.6.1/bin/test_with_coverage.dart:35:5)
<asynchronous suspension>
It seems to not like the extra parameters on the test command.
For example, this works as expected:
dart run coverage:test_with_coverage --test="test"
Any help would be appreciated!