mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-12 22:43:23 +03:00
feat: deepen skill test coverage — 52 → 247 cases across all 43 skills
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>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
d6d44b8b35
commit
a1b3fdd4e2
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"name": "Скомпилированная форма с элементами проходит валидацию",
|
||||
"preRun": [
|
||||
{
|
||||
"script": "meta-compile/scripts/meta-compile",
|
||||
"input": { "type": "DataProcessor", "name": "Валидация" },
|
||||
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
|
||||
},
|
||||
{
|
||||
"script": "form-add/scripts/form-add",
|
||||
"args": { "-ObjectPath": "{workDir}/DataProcessors/Валидация.xml", "-FormName": "Форма" }
|
||||
},
|
||||
{
|
||||
"script": "form-compile/scripts/form-compile",
|
||||
"input": {
|
||||
"title": "Валидация",
|
||||
"elements": [
|
||||
{ "input": "Поле1", "path": "Поле1" },
|
||||
{ "check": "Флаг", "path": "Флаг" },
|
||||
{ "group": "horizontal", "name": "Группа", "children": [
|
||||
{ "input": "Поле2", "path": "Поле2" }
|
||||
]},
|
||||
{ "button": "Выполнить", "command": "Выполнить" }
|
||||
],
|
||||
"attributes": [
|
||||
{ "name": "Объект", "type": "ExternalDataProcessorObject.Валидация", "main": true },
|
||||
{ "name": "Поле1", "type": "string" },
|
||||
{ "name": "Поле2", "type": "decimal(15,2)" },
|
||||
{ "name": "Флаг", "type": "boolean" }
|
||||
],
|
||||
"commands": [
|
||||
{ "name": "Выполнить", "action": "ВыполнитьОбработка" }
|
||||
]
|
||||
},
|
||||
"args": { "-JsonPath": "{inputFile}", "-OutputPath": "{workDir}/DataProcessors/Валидация/Forms/Форма/Ext/Form.xml" }
|
||||
}
|
||||
],
|
||||
"params": { "formPath": "DataProcessors/Валидация/Forms/Форма" }
|
||||
}
|
||||
Reference in New Issue
Block a user