mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-12 17:04:57 +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>
50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
||
"name": "Макет с -WithText — текст и шаблоны",
|
||
"preRun": [
|
||
{
|
||
"script": "mxl-compile/scripts/mxl-compile",
|
||
"input": {
|
||
"columns": 3,
|
||
"areas": [
|
||
{
|
||
"name": "Шапка",
|
||
"rows": [
|
||
{ "cells": [
|
||
{ "col": 1, "text": "Номер:" },
|
||
{ "col": 2, "span": 2, "template": "№ [Номер] от [Дата]" }
|
||
]}
|
||
]
|
||
},
|
||
{
|
||
"name": "ШапкаТаблицы",
|
||
"rows": [
|
||
{ "cells": [
|
||
{ "col": 1, "text": "Код" },
|
||
{ "col": 2, "text": "Наименование" },
|
||
{ "col": 3, "text": "Сумма" }
|
||
]}
|
||
]
|
||
},
|
||
{
|
||
"name": "Строка",
|
||
"rows": [
|
||
{ "cells": [
|
||
{ "col": 1, "param": "Код" },
|
||
{ "col": 2, "param": "Наименование" },
|
||
{ "col": 3, "param": "Сумма" }
|
||
]}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"args": { "-JsonPath": "{inputFile}", "-OutputPath": "Template.xml" },
|
||
"cwd": "{workDir}"
|
||
}
|
||
],
|
||
"params": { "templatePath": "Template.xml" },
|
||
"args_extra": ["-WithText"],
|
||
"expect": {
|
||
"stdoutContains": "Text"
|
||
}
|
||
}
|