-
Notifications
You must be signed in to change notification settings - Fork 376
Closed
Labels
P1high priority issues at the top of the work list, actively being worked on.high priority issues at the top of the work list, actively being worked on.devtools extensionsIssues related to DevTools extensionsIssues related to DevTools extensions
Description
- When running
flutter test test/app_that_uses_foo_test.dart --start-paused, thepackage:fooDevTools extension does not load - When running
flutter run test/app_that_uses_foo_test.dart --start-paused -d flutter-tester, thepackage:fooDevTools extension does load.
In the flutter test case, rootLibraryForMainIsolate is returning file:///var/folders/gf/14ctmb656m3100h5z857669800fv4z/T/flutter_tools.9i1YVt/flutter_test_listener.ASUv35/listener.dart, whereas in the flutter run case it returns the expected path to the test file.
Since we have DevTools extensions intended for test files (e.g. Patrol), we should fix this and cherry pick to stable.
CC @bkonyi @DanTup for any ideas you have on how we can get the proper root lib or isolate for the flutter test case.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1high priority issues at the top of the work list, actively being worked on.high priority issues at the top of the work list, actively being worked on.devtools extensionsIssues related to DevTools extensionsIssues related to DevTools extensions