Files
cc-1c-skills/tests/skills/cases/form-compile/input-fields.json
T
Nick Shirokov 0778cc89ee feat: post-run validation + integration tests for skill pipeline
- runner.mjs v0.4: --with-validation flag runs validators on real output
- postValidate config in 20 _skill.json files (maps skill → validator)
- validatePath in ~100 positive test cases
- skipValidation for 5 cross-reference cases (isolated workspace limitation)
- Integration tests: build-config (19 steps), build-epf (6), build-cfe (4)
- base-config cache from build-config for downstream tests
- Fix chart-of-calculation-types test data (DependenceOnCalculationTypes)
- 285/285 unit + 3/3 integration, all green with validation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 17:30:03 +03:00

37 lines
2.0 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": "Форма" }
}
],
"params": { "outputPath": "DataProcessors/ПоляВвода/Forms/Форма/Ext/Form.xml" },
"validatePath": "DataProcessors/ПоляВвода/Forms/Форма/Ext/Form.xml",
"input": {
"title": "Поля ввода",
"elements": [
{ "input": "ОбычноеПоле", "path": "ОбычноеПоле", "title": "Обычное поле" },
{ "input": "МногострочноеПоле", "path": "МногострочноеПоле", "multiLine": true, "height": 5, "title": "Комментарий" },
{ "input": "ПолеПароля", "path": "ПолеПароля", "passwordMode": true, "title": "Пароль" },
{ "input": "ПолеСКнопками", "path": "ПолеСКнопками", "choiceButton": true, "clearButton": true, "title": "Выбор" },
{ "input": "ПолеПодсказка", "path": "ПолеПодсказка", "inputHint": "Введите значение...", "title": "Подсказка" },
{ "check": "Флаг", "path": "Флаг", "title": "Включено" }
],
"attributes": [
{ "name": "Объект", "type": "ExternalDataProcessorObject.ПоляВвода", "main": true },
{ "name": "ОбычноеПоле", "type": "string(100)" },
{ "name": "МногострочноеПоле", "type": "string" },
{ "name": "ПолеПароля", "type": "string(50)" },
{ "name": "ПолеСКнопками", "type": "string" },
{ "name": "ПолеПодсказка", "type": "string" },
{ "name": "Флаг", "type": "boolean" }
]
}
}