Files
cc-1c-skills/tests/skills/cases/form-validate/table-form.json
T
Nick Shirokov a1b3fdd4e2 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>
2026-03-28 15:38:06 +03:00

36 lines
1.5 KiB
JSON

{
"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": [
{ "table": "Данные", "path": "Данные", "columns": [
{ "input": "Наименование", "path": "Данные.Наименование" },
{ "input": "Количество", "path": "Данные.Количество" }
]}
],
"attributes": [
{ "name": "Объект", "type": "ExternalDataProcessorObject.ВалТабл", "main": true },
{ "name": "Данные", "type": "ValueTable", "columns": [
{ "name": "Наименование", "type": "string(150)" },
{ "name": "Количество", "type": "decimal(10,3)" }
]}
]
},
"args": { "-JsonPath": "{inputFile}", "-OutputPath": "{workDir}/DataProcessors/ВалТабл/Forms/Форма/Ext/Form.xml" }
}
],
"params": { "formPath": "DataProcessors/ВалТабл/Forms/Форма" }
}