Files
cc-1c-skills/tests/skills/cases/skd-compile/multiple-datasets.json
T
Nick Shirokov 0778cc89ee 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>
2026-03-29 17:30:03 +03:00

26 lines
1.1 KiB
JSON

{
"name": "СКД с несколькими наборами данных",
"params": { "outputPath": "Template.xml" },
"input": {
"dataSets": [
{
"name": "Продажи",
"query": "ВЫБРАТЬ Продажи.Номенклатура, Продажи.Количество ИЗ РегистрНакопления.Продажи КАК Продажи",
"fields": ["Номенклатура", "Количество: decimal(15,3)"]
},
{
"name": "Остатки",
"query": "ВЫБРАТЬ Остатки.Номенклатура, Остатки.КоличествоОстаток ИЗ РегистрНакопления.Остатки КАК Остатки",
"fields": ["Номенклатура", "КоличествоОстаток: decimal(15,3)"]
}
],
"dataSetLinks": [
{ "source": "Продажи", "dest": "Остатки", "sourceExpr": "Номенклатура", "destExpr": "Номенклатура" }
]
},
"validatePath": "Template.xml",
"expect": {
"files": ["Template.xml"]
}
}