Skip to content

Support the Test activity bar view #193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DonJayamanne opened this issue Nov 14, 2017 · 9 comments
Closed

Support the Test activity bar view #193

DonJayamanne opened this issue Nov 14, 2017 · 9 comments
Labels
area-testing feature-request Request for new features or functionality meta Issue that is tracking an overall project

Comments

@DonJayamanne
Copy link

From @DonJayamanne on October 2, 2017 21:40

Make use of the explorer view in VS Code to display the unit tests

  • This is a poor mock up
  • Plan is to display the unit test names along with the results (just as we do today using the icons)
  • You'll have the ability to run tests individually form within this explorer view.

(FYI - I've justed edited the image from an older issue - https://github.com/DonJayamanne/pythonVSCode/issues/236#issuecomment-237812891)

image

Copied from original issue: DonJayamanne/pythonVSCode#1262

@brettcannon
Copy link
Member

microsoft/vscode#9505 suggests that VS Code is looking into providing a generic test explorer that we would plug into. Until that issue is resolved we would rather hold off on implementing our own solution.

@rmunn
Copy link

rmunn commented Feb 12, 2018

Given microsoft/vscode#9505 (comment), it looks like there will not be a generic VS Code test explorer any time soon :-(, so perhaps this issue should be reopened.

@brettcannon
Copy link
Member

After discussing this we've decided we don't want to pursue it as we currently don't want to clutter the left-hand sidebar. We are planning at some point to take a holistic look at testing and we will consider this when we do that.

@DonJayamanne
Copy link
Author

DonJayamanne commented Apr 28, 2018

@brettcannon
Reopening, as VSC have added a UI for this in the April release.

screen shot 2018-04-27 at 20 40 44

@brettcannon
Copy link
Member

We should definitely see if we can drop our test status bar when we implement this.

@DonJayamanne
Copy link
Author

We should definitely see if we can drop our test status bar when we implement this.

Not sure we should do that.
I for one wouldn't want to see this big ui component just to confirm that all my tests pass, the status bar is better suited for a very quick summary view.

@patrys
Copy link

patrys commented May 2, 2018

On the other hand the status bar is pretty crowded for projects using more than one language. I'd like to see an option to only see the test output in the test viewlet (hoping that errors would be displayed using a badge similar to the one used by the SCM icon).

@brettcannon
Copy link
Member

https://code.visualstudio.com/updates/v1_23#_contributions-to-the-activity-bar

@brettcannon brettcannon changed the title Display unit tests in Explorer view along with results Support the Test view May 4, 2018
@brettcannon brettcannon changed the title Support the Test view Support the Test activity bar view May 30, 2018
@d3r3kk
Copy link

d3r3kk commented Feb 5, 2019

This work is underway. The work is as follows, and this issue can serve as a 'meta-issue' to track the completeness of v1 of the feature. The work list is as follows:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing feature-request Request for new features or functionality meta Issue that is tracking an overall project
Projects
None yet
Development

No branches or pull requests

5 participants