You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migrate test running to "dart run" for tests #2950
I tried using dart test, though I found that with --pause_isolates_on_start=true it would be paused but not print the VM Service URI. If I tried adding --write-service-info=foo.txt it also didn't write the VM Service info there. I don't know whether those are complicated or simple things to address though.
@sigurdm@jonasfj thanks for the call! Switching to dart run test:test appears to work perfectly! I've got a PR to revert the previous workaround and make that change for >= v2.12 at #2956. Thanks!
Activity
sigurdm commentedon Nov 13, 2020
I believe these are bugs to be fixed.
[-]Migrate test running to "dart test"[/-][+]Migrate test running to "dart run" for tests[/+]Switch from "dart pub run test" to "dart run test:test" for >= v2.12
DanTup commentedon Nov 13, 2020
@sigurdm @jonasfj thanks for the call! Switching to
dart run test:testappears to work perfectly! I've got a PR to revert the previous workaround and make that change for >= v2.12 at #2956. Thanks!Switch from "dart pub run test" to "dart run test:test" for >= v2.12