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

When i restart my unittest, it will automatically execute all test cases. #51610

Open
vscodenpa opened this issue Jul 31, 2024 · 0 comments
Open

Comments

@vscodenpa
Copy link
Owner

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version:

Steps to Reproduce:

Here is my workspace file.
image

  1. make workspace, and midir test dir named test, and make an test file named test_2.py, outside the test folder.
  2. set config, "python.testing.pytestArgs": ["test"] in workspace setting.
  3. click debug button front of test_11122.
    image
    It not only restarted the unit test I had previously run, but also started another test. And another test is not in the testing directory of the configuration file.
    image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant