mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-18 16:49:41 +03:00
feat: add form-*, skd-*, misc tests (batches 1, 2, 10)
New skills covered: - form-add, form-compile, form-validate, form-info (batch 1) - skd-compile, skd-validate, skd-info (batch 2) - help-add, template-add, template-remove, meta-remove (batch 10) Findings: form-add/form-info path resolution inconsistency, meta-remove self-reference requires -Force. 45 tests across 33 skills, all passing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "Корректная форма проходит валидацию",
|
||||
"preRun": [
|
||||
{
|
||||
"script": "meta-compile/scripts/meta-compile",
|
||||
"input": { "type": "Catalog", "name": "Товары" },
|
||||
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
|
||||
},
|
||||
{
|
||||
"script": "form-add/scripts/form-add",
|
||||
"args": { "-ObjectPath": "{workDir}/Catalogs/Товары.xml", "-FormName": "Форма" }
|
||||
},
|
||||
{
|
||||
"script": "form-compile/scripts/form-compile",
|
||||
"input": { "title": "Тест", "attributes": [{ "name": "Объект", "type": "FormDataStructure", "main": true }], "elements": [{ "type": "InputField", "dataPath": "Объект.Наименование" }] },
|
||||
"args": { "-JsonPath": "{inputFile}", "-OutputPath": "{workDir}/Catalogs/Товары/Forms/Форма/Ext/Form.xml" }
|
||||
}
|
||||
],
|
||||
"params": { "formPath": "Catalogs/Товары/Forms/Форма" }
|
||||
}
|
||||
Reference in New Issue
Block a user