mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-05 10:48:56 +03:00
a1b3fdd4e2
Add 195 new test cases covering examples from SKILL.md, edge cases, and parameter combinations. Create _skill.json for form-edit, skd-edit, subsystem-edit. Add fixtures for negative validate cases. Fix normalizeUuids in meta-validate/meta-info configs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
1.3 KiB
JSON
30 lines
1.3 KiB
JSON
{
|
|
"name": "Обзор СКД с параметрами и полями",
|
|
"preRun": [
|
|
{
|
|
"script": "skd-compile/scripts/skd-compile",
|
|
"input": {
|
|
"dataSets": [{
|
|
"name": "Основной",
|
|
"query": "ВЫБРАТЬ Т.Номенклатура, Т.Количество, Т.Сумма ИЗ Регистр КАК Т",
|
|
"fields": ["Номенклатура: CatalogRef.Номенклатура @dimension", "Количество: decimal(15,3)", "Сумма: decimal(15,2)"]
|
|
}],
|
|
"totalFields": ["Количество: Сумма", "Сумма: Сумма"],
|
|
"parameters": ["Период: StandardPeriod = LastMonth @autoDates"],
|
|
"settingsVariants": [{
|
|
"name": "Основной",
|
|
"settings": {
|
|
"selection": ["Номенклатура", "Количество", "Сумма", "Auto"],
|
|
"filter": ["Организация = _ @off @user"],
|
|
"dataParameters": ["Период = LastMonth @user"],
|
|
"structure": "Организация > details"
|
|
}
|
|
}]
|
|
},
|
|
"args": { "-DefinitionFile": "{inputFile}", "-OutputPath": "{workDir}/Template.xml" }
|
|
}
|
|
],
|
|
"params": { "templatePath": "Template.xml" },
|
|
"expect": { "stdoutContains": "Основной" }
|
|
}
|