Skip to content

Add TreeView data model and hook up existing test data #4304

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

Merged
merged 8 commits into from
Feb 7, 2019

Conversation

d3r3kk
Copy link

@d3r3kk d3r3kk commented Feb 6, 2019

For #4273 & #4274

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

Note: This is the first in a line of PRs that I will submit on this issue, the primary purpose for this to be merged at this early time is to unblock others from submitting work against the Test Explorer feature as well.


  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • Has a news entry file (remember to thank yourself!)
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated
  • Test plan is updated as appropriate
  • package-lock.json has been regenerated by running npm install (if dependencies have changed)

@d3r3kk d3r3kk added the no-changelog No news entry required label Feb 6, 2019
Copy link

@DonJayamanne DonJayamanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple refactoring, move files, and rename stuff.
Please remove Python prefix from class names.

For microsoft#4273

- Make Python Test View Provider injectable (testable)
- Maps `Tests` object to TreeViewItem hierarchy
- Adds a Event (subscription) model to the TestStorageService
- Ensure all properties in the TestTreeItem are RO
- Remove `Python` from the names of classes/enums
- simplify name of event for test store updates
-
- move TreeView files to more appropriate location
- move registrations to more appropriate location
- clean up some lengthy import statements
@d3r3kk d3r3kk force-pushed the 4273_test_explorer_datamodel branch from c776ad9 to 7dfaabe Compare February 6, 2019 23:04
@codecov
Copy link

codecov bot commented Feb 6, 2019

Codecov Report

Merging #4304 into master will increase coverage by 22%.
The diff coverage is 60%.

@@           Coverage Diff            @@
##           master   #4304     +/-   ##
========================================
+ Coverage      57%     79%    +22%     
========================================
  Files         345     422     +77     
  Lines       14459   19336   +4877     
  Branches     2242    3106    +864     
========================================
+ Hits         8234   15248   +7014     
+ Misses       5696    4085   -1611     
+ Partials      529       3    -526
Flag Coverage Δ
#Linux 68% <61%> (?)
#Windows 69% <61%> (?)
#macOS 68% <61%> (?)

@d3r3kk d3r3kk merged commit 0418d92 into microsoft:master Feb 7, 2019
@d3r3kk d3r3kk deleted the 4273_test_explorer_datamodel branch February 7, 2019 01:32
@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
no-changelog No news entry required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants