mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-11 16:34:57 +03:00
0ddb675502
Snapshot-based test runner (tests/skills/runner.mjs) for verifying skill script output. Zero dependencies, runs on any machine with Node.js — no 1C platform needed for daily regression. Pilot: meta-compile with 6 cases (4 positive with snapshots, 2 negative). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
24 lines
711 B
JSON
24 lines
711 B
JSON
{
|
|
"name": "Документ с табличной частью",
|
|
"input": {
|
|
"type": "Document",
|
|
"name": "ПриходнаяНакладная",
|
|
"attributes": [
|
|
{ "name": "Склад", "type": "String", "length": 100 }
|
|
],
|
|
"tabularSections": [
|
|
{
|
|
"name": "Товары",
|
|
"attributes": [
|
|
{ "name": "Номенклатура", "type": "String", "length": 150 },
|
|
{ "name": "Количество", "type": "Number", "length": 15, "precision": 3 },
|
|
{ "name": "Цена", "type": "Number", "length": 15, "precision": 2 }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"expect": {
|
|
"files": ["Documents/ПриходнаяНакладная.xml"]
|
|
}
|
|
}
|