Skip to content

Migrate test running to "dart run" for tests #2950

Closed

Description

@DanTup

From #2949 (comment)

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.

Activity

  1. added
    in testingRelates to test execution of Dart/Flutter tests for end users
    on Nov 10, 2020
  2. added this to the On Deck milestone on Nov 10, 2020
  3. sigurdm commented on Nov 13, 2020

    @sigurdm

    I believe these are bugs to be fixed.

  4. changed the title [-]Migrate test running to "dart test"[/-] [+]Migrate test running to "dart run" for tests[/+] on Nov 13, 2020
  5. modified the milestones: On Deck, v3.17.0 on Nov 13, 2020
  6. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    in debuggingRelates to the debug adapter or process of running debug sessions
    on Nov 13, 2020
  7. added a commit that references this issue on Nov 13, 2020
    c7f81d6
  8. DanTup commented on Nov 13, 2020

    @DanTup
    MemberAuthor

    @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!

  9. added a commit that references this issue on Nov 13, 2020
    33fbe6f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsin testingRelates to test execution of Dart/Flutter tests for end usersis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions