Small settings update for test discovery in VS Code

This commit is contained in:
Dmytro Struk
2025-09-16 22:45:04 -07:00
Unverified
parent 461087b508
commit 5aa17a3d48
3 changed files with 26 additions and 2 deletions
+8 -1
View File
@@ -35,5 +35,12 @@
"name": "azure",
"depth": 2
}
]
],
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.pytestArgs": [
"packages"
],
"python.testing.cwd": "${workspaceFolder}",
"python.testing.autoTestDiscoverOnSaveEnabled": true
}
+9 -1
View File
@@ -72,7 +72,15 @@ environments = [
fallback-version = "0.0.0"
[tool.pytest.ini_options]
testpaths = 'tests'
testpaths = [
'tests',
'packages/main/tests',
'packages/azure/tests',
'packages/foundry/tests',
'packages/copilotstudio/tests',
'packages/mem0/tests',
'packages/runtime/tests'
]
addopts = "-ra -q -r fEX"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
+9
View File
@@ -0,0 +1,9 @@
[pytest]
testpaths = packages/main/tests packages/azure/tests packages/foundry/tests packages/copilotstudio/tests packages/mem0/tests packages/runtime/tests
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
addopts = -ra -q -r fEX --tb=short
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
timeout = 120