mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-11 16:34:57 +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>
39 lines
983 B
JSON
39 lines
983 B
JSON
{
|
|
"name": "Макет с пустыми строками (empty)",
|
|
"input": {
|
|
"columns": 3,
|
|
"fonts": {
|
|
"default": { "face": "Arial", "size": 10 },
|
|
"bold": { "face": "Arial", "size": 12, "bold": true }
|
|
},
|
|
"styles": {
|
|
"header": { "font": "bold", "align": "center" },
|
|
"bordered": { "border": "all" }
|
|
},
|
|
"areas": [
|
|
{
|
|
"name": "Заголовок",
|
|
"rows": [
|
|
{ "cells": [{ "col": 1, "span": 3, "style": "header", "text": "Отчёт" }] },
|
|
{ "empty": 2 }
|
|
]
|
|
},
|
|
{
|
|
"name": "Данные",
|
|
"rows": [
|
|
{ "rowStyle": "bordered", "cells": [
|
|
{ "col": 1, "param": "Код" },
|
|
{ "col": 2, "param": "Имя" },
|
|
{ "col": 3, "param": "Значение" }
|
|
]}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"params": { "outputPath": "Template.xml" },
|
|
"validatePath": "Template.xml",
|
|
"expect": {
|
|
"files": ["Template.xml"]
|
|
}
|
|
}
|