Files
cc-1c-skills/tests/skills/cases/mxl-compile/format-strings.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

42 lines
1.3 KiB
JSON

{
"name": "Макет с форматными строками",
"input": {
"columns": 4,
"styles": {
"bordered": { "border": "all" },
"number": { "border": "all", "align": "right", "format": "ЧЦ=15; ЧДЦ=2" },
"date": { "border": "all", "align": "center", "format": "ДФ=dd.MM.yyyy" },
"bordered-center": { "border": "all", "align": "center" }
},
"areas": [
{
"name": "ШапкаТаблицы",
"rows": [
{ "rowStyle": "bordered-center", "cells": [
{ "col": 1, "text": "Дата" },
{ "col": 2, "text": "Товар" },
{ "col": 3, "text": "Кол-во" },
{ "col": 4, "text": "Цена" }
]}
]
},
{
"name": "Строка",
"rows": [
{ "rowStyle": "bordered", "cells": [
{ "col": 1, "style": "date", "param": "Дата" },
{ "col": 2, "param": "Товар" },
{ "col": 3, "style": "number", "param": "Количество" },
{ "col": 4, "style": "number", "param": "Цена" }
]}
]
}
]
},
"params": { "outputPath": "Template.xml" },
"validatePath": "Template.xml",
"expect": {
"files": ["Template.xml"]
}
}