Skip to content

"No tests match regular expression...", customize regex #4099

Closed

Description

@jibbers42

I get the "No tests match regular expression..." error when using Glados (property-based testing) and attempting to run a test via test code lens.

It seems they modify the name of the test here.

Is there a way for me to modify the regex used to account for their modification, or another solution?
(I'm using Dart SDK without Flutter)

Thanks!

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Aug 10, 2022
  2. DanTup commented on Sep 26, 2022

    @DanTup
    Member

    Sorry for the delay, I somehow missed this issue. I think the best solution is probably #4021, which avoids us having to "predict" the names of tests when running (instead, we will run them based on the line number they're on). I haven't had chance to try this out yet, but I'll keep this issue open as a reminder to test this once that work is done.

  3. added
    in testingRelates to test execution of Dart/Flutter tests for end users
    on Sep 26, 2022
  4. added this to the On Deck milestone on Sep 26, 2022
  5. modified the milestones: On Deck, v3.62.0 on Feb 27, 2023
  6. modified the milestones: v3.62.0, v3.64.0 on Mar 30, 2023
  7. DanTup commented on Apr 19, 2023

    @DanTup
    Member

    In the next release (and the pre-release version just pushed today - v3.63.20240419), you can choose to have tests executed using their line numbers rather than their names. This fixes a number of issues including this one, caused by not always being able to statically compute the exact name of a test.

    Test Invocation settings

    Please let me know if you find any issues with this functionality!

  8. jibbers42 commented on Apr 19, 2023

    @jibbers42
    Author

    Thank you!

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