Skip to content

Conversation

DanTup
Copy link
Contributor

@DanTup DanTup commented Feb 5, 2019

These methods that wrap group/test aren't currently detected as test methods by the analyzer so we don't get the necessary info to show the Run/Debug CodeLens links in VS Code:

screenshot 2019-02-05 at 9 22 03 am

This adds them in, which solves the issue (the screenshot above is taken after I added them).

I don't believe there are any negative consequences of adding this and we already have it on testWidget (see #17772).

@gspencergoog @scheglov

Fixes Dart-Code/Dart-Code#1421.

Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DanTup DanTup merged commit 7e445a1 into flutter:master Feb 5, 2019
@DanTup DanTup deleted the add-isTest branch February 5, 2019 15:43
@scheglov
Copy link
Contributor

scheglov commented Feb 5, 2019

Nice!

kangwang1988 pushed a commit to XianyuTech/flutter that referenced this pull request Feb 12, 2019
@zoechi zoechi added the a: tests "flutter test", flutter_test, or one of our tests label Feb 12, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: tests "flutter test", flutter_test, or one of our tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow running non-widget tests
5 participants