Skip to content

Whenever I open a folder, python extension will pop up message "No tests discovered, please check the configuration settings for the tests." #15997

Answered by brettcannon
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

It's because you have conflicting settings. You set up arguments for unittest but you left it off via unittestEnabled and instead turned on pytest support via pytestEnabled. You probably want to either turn off all test support, turn on unittest support but turn off pytest support, or use pytestArgs instead of unittestArgs.

And the extension will launch in a VS Code workspace if you open a Python file or have a key Python project file in your workspace, so my guess is you're not opening new VS Code windows for your workspaces.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
1 participant