Skip to content

The test error zone is not very usefulΒ #22312

@aeschli

Description

@aeschli

Testing #21861

When selecting a failed test item, the editor gets focus and the test failure is shown in an editor zone
image

  • the error points to the definition of the test. It would be more useful if it points to the assertion that failed. Also note that the arrow of the overlay is pointing to whitespace
  • the editor overlay is very large. Is seems to cover the rest of the editor. The larger the editor the larger the zone. It would be nice if it's only as big as the information it shows
  • the editor zone repeats the information already shown in the title. test_subtests.NumbersTest.test_even (i=7305) is shown 3 times in the zone, plus as ghost text in the editor
  • the stacktrace is not useful. It doesn't have links to navigate to the locations. But I doubt I would want to navigate to the locations as they point in to the python unittest test runner

Metadata

Metadata

Assignees

Labels

area-testingbugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions