Replies: 2 comments 7 replies
-
|
We call pytest itself to ask what pattern it uses to discover tests. The default is |
Beta Was this translation helpful? Give feedback.
-
|
@rchiodo thank you for clarifying, but I'm not sure where should I set the pytest configuration for pylance specifically. I have built-in TestUI working, it picks up all of my tests, I use python.testing.pytestArgs setting for this. I tried to use pytest.ini before I posted the question, but it didn't help. I also use multi-root workspace. So I'm a bit confused of where to specify the test files so pylance would pick it up and use to call pytest. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have a problem with enablePytestSupport setting. For me it only works in files that are named like test_*.py. Can I make it so it will work for all the *.py files in a specific folder? I can't influence the name change of the test files, but I want the feature to work for the current workspace configuration.
Beta Was this translation helpful? Give feedback.
All reactions