Skip to content

Create Python Test TreeViewProvider & TreeViewItem. #4273

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
d3r3kk opened this issue Feb 5, 2019 · 0 comments
Closed

Create Python Test TreeViewProvider & TreeViewItem. #4273

d3r3kk opened this issue Feb 5, 2019 · 0 comments
Labels
area-testing feature-request Request for new features or functionality

Comments

@d3r3kk
Copy link

d3r3kk commented Feb 5, 2019

Create Python Test TreeViewProvider, Python Test TreeViewItem, and show them in the Test Explorer view.

This task is specifically to create the model and prove out the tree item flow we will use. Dummy data can be created, and unit tests put in place to ensure the tree model update will work how we expect it to.

No commands, nothing that would alter the tree is included in this task.

The end result will be an API that will have to be implemented rather than a full reconfiguration of how we represent this information internally today (Tests data structure, ITestCollectionStorageService, etc...).

NOTE: Discussion on mapping the Tests data structure should be had to ensure we understand any impact of altering or extending this.

NOTE: We are not going to support multi-root work spaces at this time.

Test for completion:

  • Examples of all test elements we support can be observed in the Test activity tree.
    • Package, File, Suite, Function
@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Feb 5, 2019
@d3r3kk d3r3kk added area-testing needs PR feature-request Request for new features or functionality labels Feb 5, 2019
@ghost ghost removed triage-needed Needs assignment to the proper sub-team labels Feb 5, 2019
@d3r3kk d3r3kk added this to the 2019, week 5 - Jan Sprint 3 milestone Feb 5, 2019
d3r3kk added a commit to d3r3kk/vscode-python that referenced this issue Feb 6, 2019
For microsoft#4273

- Make Python Test View Provider injectable (testable)
- Maps `Tests` object to TreeViewItem hierarchy
- Adds a Event (subscription) model to the TestStorageService
d3r3kk added a commit to d3r3kk/vscode-python that referenced this issue Feb 6, 2019
For microsoft#4273

- Make Python Test View Provider injectable (testable)
- Maps `Tests` object to TreeViewItem hierarchy
- Adds a Event (subscription) model to the TestStorageService
d3r3kk added a commit that referenced this issue Feb 7, 2019
* Add workspace test discovery data to the Python Test tree view.

For #4273 & #4274

- Make Python Test View Provider injectable (testable)
- Maps `Tests` object to TreeViewItem hierarchy
- Adds a Event (subscription) model to the TestStorageService

Initial PR, more to follow...
@ghost ghost removed the needs PR label Feb 25, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 25, 2019
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
Projects
None yet
Development

No branches or pull requests

2 participants