mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Small settings update for test discovery in VS Code
This commit is contained in:
Vendored
+8
-1
@@ -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
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user