mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-13 22:35:16 +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>
22 lines
536 B
JSON
22 lines
536 B
JSON
{
|
|
"name": "Справочник с табличной частью",
|
|
"input": {
|
|
"type": "Catalog",
|
|
"name": "Товары",
|
|
"attributes": [
|
|
{ "name": "Артикул", "type": "String", "length": 25 }
|
|
],
|
|
"tabularSections": [
|
|
{
|
|
"name": "Штрихкоды",
|
|
"attributes": [
|
|
{ "name": "Штрихкод", "type": "String", "length": 128 }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"expect": {
|
|
"files": ["Catalogs/Товары.xml", "Catalogs/Товары/Ext/ObjectModule.bsl"]
|
|
}
|
|
}
|