Skip to content

Remove testing dependency on language server - #16319

Merged
Karthik Nadig (karthiknadig) merged 1 commit into
microsoft:test-uifrom
karthiknadig:testing-activation
May 26, 2021
Merged

Remove testing dependency on language server#16319
Karthik Nadig (karthiknadig) merged 1 commit into
microsoft:test-uifrom
karthiknadig:testing-activation

Conversation

@karthiknadig

@karthiknadig Karthik Nadig (karthiknadig) commented May 25, 2021

Copy link
Copy Markdown
Member

This change removes the dependency of testing activation on language server. Currently it does not provide a substitute for the language server symbol provider. I will be adding that separately when implementing the testing controller. I will use the symbol provider script that uses AST to get the required location (we may even use TS code to find the location). For now this PR ensures that testing activation is not blocked on LS activation.

Closes https://github.com/microsoft/vscode-python-internalbacklog/issues/239

@karthiknadig

Copy link
Copy Markdown
Member Author

Jake Bailey (@jakebailey) FYI. There is lot of work pending but this is happening :) finally

@jakebailey Jake Bailey (jakebailey) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, if you're going to add a symbol provider later. I see that this is going to another branch, so I'm sure it's ok to break.

@karthiknadig
Karthik Nadig (karthiknadig) merged commit 0268a4c into microsoft:test-ui May 26, 2021
@karthiknadig
Karthik Nadig (karthiknadig) deleted the testing-activation branch June 8, 2021 15:37
Karthik Nadig (karthiknadig) added a commit to karthiknadig/vscode-python that referenced this pull request Jul 23, 2021
Karthik Nadig (karthiknadig) added a commit to karthiknadig/vscode-python that referenced this pull request Jul 26, 2021
Karthik Nadig (karthiknadig) added a commit to karthiknadig/vscode-python that referenced this pull request Jul 28, 2021
Karthik Nadig (karthiknadig) added a commit to karthiknadig/vscode-python that referenced this pull request Aug 2, 2021
Kartik Raj (karrtikr) pushed a commit to karrtikr/vscode-python that referenced this pull request Aug 5, 2021
* migrating User PR to test branch: Fix broken unittest test discovery (microsoft#16703)

* Fix broken unittest test discovery

Test discovery with unittest was not working at all. This is now fixed
with a more reliable method.  (Issue 16593)

* Fix typo

Somehow I managed to typo such a simple change.

Co-authored-by: Julian Edwards <bigjools@gmail.com>

* Remove code lenses used in tests (microsoft#16200)

* Add test view with a welcome button (microsoft#16215)

* Add test view with a welcome button

* Register registerTestController only when available.

* Remove nosetest support (microsoft#16217)

* Remove nosetest support

* Fix enablement tests

* Update src/client/testing/common/xUnitParser.ts

Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com>

Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com>

* Remove navigation commands (microsoft#16276)

* Removing view test ui and view test output commands (microsoft#16298)

* Remove test picker (microsoft#16300)

* Remove more test commands (microsoft#16314)

* Remove select and run commands

* Remove commands from package json

* Remove more test commands (microsoft#16315)

* Remove testing dependency on language server (microsoft#16319)

* Remove old test code (only configuration remains)

* Use new Test UI API from VS Code

* Move test configuration

* Fix linting

* Add news items

* Ensure controller is disposed

* Tweaks to get testing working on stable.

* Remove empty file.

* Fix some sonar issues

* Fix issue with pytest crashing on discovery

* Add force refresh on interpreter change.

* Handle large number of FS events

* Simplify triggering test refresh on config change

* VS Code API change to support errored state

* Ensure skipped status is set on unittest tests

* Adding code review suggestions

Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com>

* Fix package json encoding issue

* Fix bad package.json merge

* Fix issues with multi-root workspace runs

* Tweak multi-root support and failed test reruns

* Fix package json encoding

* Fix linting

* Add refresh and run failed icons

* Trigger discovery on settings change, and show discovery errors

* Fix encoding from windows-1252 to utf-8

* Better messaging when pytest is not installed

* Improve handling of failure expected and pass unexpected

* Add news items

* Add more news items.

Co-authored-by: Julian Edwards <bigjools@gmail.com>
Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants