mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-06 19:50:20 +03:00
feat: post-run validation + integration tests for skill pipeline
- runner.mjs v0.4: --with-validation flag runs validators on real output - postValidate config in 20 _skill.json files (maps skill → validator) - validatePath in ~100 positive test cases - skipValidation for 5 cross-reference cases (isolated workspace limitation) - Integration tests: build-config (19 steps), build-epf (6), build-cfe (4) - base-config cache from build-config for downstream tests - Fix chart-of-calculation-types test data (DependenceOnCalculationTypes) - 285/285 unit + 3/3 integration, all green with validation Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
28b2765f68
commit
0778cc89ee
@@ -8,5 +8,6 @@
|
||||
"snapshot": {
|
||||
"root": "workDir",
|
||||
"normalizeUuids": true
|
||||
}
|
||||
},
|
||||
"postValidate": { "script": "epf-validate/scripts/epf-validate", "flag": "-ObjectPath", "pathFrom": "validatePath" }
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "Пустой внешний отчёт",
|
||||
"params": { "name": "ТестовыйОтчёт" },
|
||||
"validatePath": "ТестовыйОтчёт",
|
||||
"expect": {
|
||||
"files": ["ТестовыйОтчёт.xml"]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "Минимальный отчёт",
|
||||
"params": { "name": "Отчёт1" },
|
||||
"validatePath": "Отчёт1",
|
||||
"expect": {
|
||||
"files": ["Отчёт1.xml"]
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"name": "Отчёт с СКД",
|
||||
"params": { "name": "ОтчётСКД" },
|
||||
"args_extra": ["-WithSKD"],
|
||||
"validatePath": "ОтчётСКД",
|
||||
"expect": {
|
||||
"files": ["ОтчётСКД.xml"]
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"name": "Отчёт с синонимом",
|
||||
"params": { "name": "АнализПродаж" },
|
||||
"args_extra": ["-Synonym", "Анализ продаж"],
|
||||
"validatePath": "АнализПродаж",
|
||||
"expect": {
|
||||
"files": ["АнализПродаж.xml"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user