Skip to content
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

Make Testing more approachable #210152

Closed
2 of 3 tasks
isidorn opened this issue Apr 11, 2024 · 2 comments
Closed
2 of 3 tasks

Make Testing more approachable #210152

isidorn opened this issue Apr 11, 2024 · 2 comments
Assignees
Labels
testing Built-in testing support
Milestone

Comments

@isidorn
Copy link
Contributor

isidorn commented Apr 11, 2024

Based on our brainstorm here are some action items we could do:
-[ ] Show testing viewlet even if there is no testing extension installed (and the user has opened a folder in VS Code) @connor4312
* The testing viewlet without a test extension should show the welcome view. And have a "blue button" to take users to the Extensions view with category:testing. Optional: have smart detection to identify what test extension is best suited for the workspace.

  • Recommend test extensions using current notification when a specific test config file is open @isidorn
  • Check with Python team if the testing setup can be more automatic, and that it does not require a manual configure @isidorn
  • Revisit the testing docs, and make sure all the latest features are covered @ntrogh

I am opportunistically assigning this to May.

@isidorn
Copy link
Contributor Author

isidorn commented Jun 24, 2024

Ok, marking the last two items as done. I discussed for Python test discovery with @luabud and here's what she says

"We don't know which framework the tests should be configured with, and there may be a lot of different configs and arguments that people need to pass so tests can successfully be discovered. If we tried to something automatically without requiring user config, most likely we would show a failure on the test view.
pytest needs to be installed in user's environment for it to perform discovery. When people configure their tests to use pytest and it's not installed, we automatically install it on their behalf. We ofc can't do that automatically on load though, so we'd need to figure out a way to handle that part."

For the remaining two items, I will move this issue to July. @connor4312 do you have any concerns about showing extension recommendation on test config file open?

@connor4312 What are your thoughts on showing the testing viewlet on by default with welcome view for Workspaces with a folder?

@isidorn isidorn modified the milestones: June 2024, July 2024 Jun 24, 2024
@isidorn isidorn assigned connor4312 and unassigned connor4312 and ntrogh Jun 24, 2024
@isidorn isidorn modified the milestones: July 2024, August 2024, Backlog Jul 24, 2024
@isidorn
Copy link
Contributor Author

isidorn commented Dec 10, 2024

Closing as done, as there are no immediate plans for additional work here

@isidorn isidorn closed this as completed Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Built-in testing support
Projects
None yet
Development

No branches or pull requests

3 participants