-
Notifications
You must be signed in to change notification settings - Fork 93
Description
Let's see if I'll get some answers this time, because my first issue was ignored #785
Hello guys.
I've been facing some problems here when trying to debug tests that is decorated with parametrize.
VsCode can't recognize these tests with parametrize from pytest.
my .vscode/settings.json:
{
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
My VsCode version: 1.103.1
So, The problem is that the run/debug button from vscode doesn't appear when the test is decorated with @pytest.mark.parametrize.
According with the picture I attached, the first test, which is decorated, doesn't have the run/debug enabled. While the second test without the decorator has the run/debug button enabled.
Why this happen in vscode?
Does anyone know how to resolve this problem?