mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-11 05:23:42 +03:00
0778cc89ee
- 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>
31 lines
1.0 KiB
JSON
31 lines
1.0 KiB
JSON
{
|
|
"name": "Документ с несколькими ТЧ и реквизитами",
|
|
"input": {
|
|
"type": "Document",
|
|
"name": "РеализацияТоваров",
|
|
"registerRecords": ["AccumulationRegister.Продажи"],
|
|
"attributes": [
|
|
"Организация: CatalogRef.Организации",
|
|
"Контрагент: CatalogRef.Контрагенты",
|
|
"Склад: CatalogRef.Склады",
|
|
"Валюта: CatalogRef.Валюты"
|
|
],
|
|
"tabularSections": {
|
|
"Товары": [
|
|
"Номенклатура: CatalogRef.Номенклатура",
|
|
"Количество: Number(15,3)",
|
|
"Цена: Number(15,2)",
|
|
"Сумма: Number(15,2)"
|
|
],
|
|
"Услуги": [
|
|
"Номенклатура: CatalogRef.Номенклатура",
|
|
"Сумма: Number(15,2)"
|
|
]
|
|
}
|
|
},
|
|
"validatePath": "Documents/РеализацияТоваров",
|
|
"expect": {
|
|
"files": ["Documents/РеализацияТоваров.xml"]
|
|
}
|
|
}
|