mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-16 02:43:14 +03:00
312d058412
- meta-validate: 3 cases (valid catalog, bad root element, file not found) - meta-info: 2 cases (catalog overview with stdoutContains, not found error) - fixtures/broken/catalog-bad-root for negative validate tests - All 5 skill archetypes now covered: compile, init, edit, validate, info 17 tests, all passing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
678 B
JSON
23 lines
678 B
JSON
{
|
|
"name": "Обзор справочника с реквизитами",
|
|
"setup": "empty-config",
|
|
"preRun": [
|
|
{
|
|
"script": "meta-compile/scripts/meta-compile",
|
|
"input": {
|
|
"type": "Catalog",
|
|
"name": "Номенклатура",
|
|
"attributes": [
|
|
{ "name": "Артикул", "type": "String", "length": 25 },
|
|
{ "name": "Цена", "type": "Number", "length": 15, "precision": 2 }
|
|
]
|
|
},
|
|
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
|
|
}
|
|
],
|
|
"params": { "objectPath": "Catalogs/Номенклатура" },
|
|
"expect": {
|
|
"stdoutContains": "Номенклатура"
|
|
}
|
|
}
|