Skip to content

Link package URIs in terminal output #2099

@audkar

Description

@audkar

Stacktrace is printed out to Test Output as plain text. It would be useful if we could click on specific line and navigate to related code.

case:

e.g. test fails with such output in Test Output window:

ERROR: NoSuchMethodError: The method 'call' was called on null.
Receiver: null
Tried calling: call()
dart:core                                                                       Object.noSuchMethod
test/service/geocode_repository_mock.dart 12:7                                  MockGeocodeRepository.locationsFromCoordinates
package:mypackage/src/feature/location_picker/bloc/location_picker_bloc.dart 32:29
<...>

expectation:

clicking package:mypackage/src/feature/location_picker/bloc/location_picker_bloc.dart 32:29 navigates to location_picker_bloc.dart 32

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresis 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