-
Notifications
You must be signed in to change notification settings - Fork 333
Closed
Labels
in testingRelates to test execution of Dart/Flutter tests for end usersRelates to test execution of Dart/Flutter tests for end usersis bug
Milestone
Description
Describe the behaviour
With the new experimentalTestTracking
set to true
, I see a weird behaviour in test_reflective_loader
test files once I've tried running a debug session that did not complete any tests.
To Reproduce
Steps to reproduce the behavior:
- Go to
pkg/analysis_server/lib/src/services/correction/dart/add_digit_separators.dart
- Add a breakpoint at the first line inside
_AddDigitSeparators.compute
(at the time of writing is 69) - Go to
pkg/analysis_server/test/src/services/correction/assist/add_digit_separators_test.dart
- Disable that breakpoint on the breakpoints tab temporarily
- Run the full test file
- Enable the breakpoint and run the tests
- Once it breaks, stop the debugging session
- Go back to the test file and see no gutter icons
- Add a new line or something like that (some change, I think even whitespaces might do) and see the gutter icons show up
- Removing that change will make them go away
- Saving the file (even if you delete the change you made - not undoing) will show the gutter icons again
P.S.: With that flag set to false
, the gutter icons simply don't show up until you run the tests again (nobody is tracking the tests' positions).
Expected behavior
I'm not sure if this can be fixed here or up on VS Code or what, but I expect it either to never show the gutter icons or to keep showing them.
Screenshots
20251002_121507.mp4
Logs:
Metadata
Metadata
Assignees
Labels
in testingRelates to test execution of Dart/Flutter tests for end usersRelates to test execution of Dart/Flutter tests for end usersis bug