test(classifier): ✅ add tests that assert that fixtures must exist with their associated existing pattern

a log line cannot match multiple patterns. Again a fixture can only exist in codebase if its associated pattern also exists.
This commit is contained in:
2026-08-25 12:39:50 +02:00
parent 476b69d26f
commit 59a04c6761
10 changed files with 278 additions and 36 deletions
+44 -30
View File
@@ -1,46 +1,60 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Current File",
"name": "Python Debugger: current file",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}\\src"
}
},
{
"name": "Python Debugger: project",
"type": "debugpy",
"request": "launch",
"module": "logwatcher.app",
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"env": {
"PYTHONPATH": "${workspaceFolder}\\src"
}
},
{
"name": "Pytest : current file",
"type": "debugpy",
"request": "launch",
"module": "pytest",
"args": [
"${file}",
"-v",
"--no-header"
],
"python": "${workspaceFolder}\\.venv\\Scripts\\python.exe",
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${workspaceFolder}\\src"
},
"console": "integratedTerminal"
},
{
"name": "Python Debugger: Project",
"name": "Pytest : all tests",
"type": "debugpy",
"request": "launch",
"module": "pytest",
"args": [
"-v",
"--no-header"
],
"python": "${workspaceFolder}\\.venv\\Scripts\\python.exe",
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"module": "logwatcher.app",
},
{
"name": "Python Test: Current File",
"type": "debugpy",
"request": "launch",
"program": "pytest",
"args": [
"-p",
"vscode_pytest",
"--rootdir=${workspaceFolder}",
"--capture=no",
"${file}"
]
},
{
"name": "Python Test: All tests",
"type": "debugpy",
"request": "launch",
"program": "pytest",
"args": [
"-p",
"vscode_pytest",
"--rootdir=${workspaceFolder}",
"--capture=no"
]
"env": {
"PYTHONPATH": "${workspaceFolder}\\src"
},
"console": "integratedTerminal"
}
]
}