38 lines
831 B
JSON
38 lines
831 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Tests: pytest",
|
|
"type": "shell",
|
|
"command": "python -m pytest tests -q",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Tests: current file",
|
|
"type": "shell",
|
|
"command": "python -m pytest ${relativeFile} -q",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"group": "test",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run: broker (smoke config)",
|
|
"type": "shell",
|
|
"command": "python -m pyMCPBroker 127.0.0.1:8100 smoke_config.json --log-level info",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|