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

How to disable runOnSave when using pytest #21533

Closed
ydmykr opened this issue Jun 29, 2023 · 3 comments
Closed

How to disable runOnSave when using pytest #21533

ydmykr opened this issue Jun 29, 2023 · 3 comments
Assignees
Labels
area-testing feature-request Request for new features or functionality triage-needed Needs assignment to the proper sub-team

Comments

@ydmykr
Copy link

ydmykr commented Jun 29, 2023

In March release, I saw that it support for continuous test runs.

I want to know that how can I disable this function. When I save the file whose name contain "test", it'll run automatically.

@ydmykr ydmykr added the feature-request Request for new features or functionality label Jun 29, 2023
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jun 29, 2023
@eleanorjboyd
Copy link
Member

Hi! Are your tests running or discovering on save? The continuous test run is an API, https://code.visualstudio.com/updates/v1_75#_continuous-test-runs, that should have to be enabled to function so I wanted to gather a bit more information. Thanks!

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jun 29, 2023
@ydmykr
Copy link
Author

ydmykr commented Jun 30, 2023

@eleanorjboyd I read the document and found that I can solve it by add "python.testing.autoTestDiscoverOnSaveEnabled": false to my settings.json.

Thanks alot.

@ydmykr ydmykr closed this as completed Jun 30, 2023
@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Jun 30, 2023
@eleanorjboyd
Copy link
Member

great, happy coding!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2023
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 triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants