Skip to content

Links to Lines with Unittesting #17001

Closed
Closed

Description

Discussed in #16863

Originally posted by Password-Classified August 4, 2021
With unittests, I think that it would be a nice idea to include links to line numbers to improve productivity. By this I mean that when an error comes up, with an error message, it should link to the line number where it says "line ...". If this is not clear, see below:

Traceback (most recent call last):
    <filename here> line 123 in function:
          raise Exception('This is where the error would occur')
    Exception: This is where the error would occur

Where it says "line 123", there could be a link to the line in the file, so that it opens the file at that line in the editor. I thought of this because there is a link to the file (which opens in the editor), but there is not a link to that line in the file.

Thank you for your time.

Activity

  1. added
    feature-requestRequest for new features or functionality
    and removed
    triage-neededNeeds assignment to the proper sub-team
    on Aug 16, 2021
  2. brettcannon commented on Sep 1, 2021

    @brettcannon
    MemberAuthor

    Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 5 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

  3. brettcannon commented on Nov 1, 2021

    @brettcannon
    MemberAuthor

    Thank you for submitting your feature request and everyone who considered it! Unfortunately this issue did not receive enough votes over the allotted time, and so we are closing the issue.

  4. locked as resolved and limited conversation to collaborators on Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions