feat: add meta-edit tests, support preRun and workPath mapping

- meta-edit: 3 cases (add-attribute, add-tabpart, error-no-definition)
- runner: preRun steps for creating prerequisite objects before test
- runner: workPath arg mapping (workDir + case field) for path-based skills

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Nick Shirokov
2026-03-28 13:05:17 +03:00
co-authored by Claude Opus 4.6
parent 347722ef0d
commit 95776a4248
13 changed files with 1292 additions and 2 deletions
@@ -0,0 +1,16 @@
{
"name": "Добавление реквизита к справочнику",
"preRun": [
{
"script": "meta-compile/scripts/meta-compile",
"input": { "type": "Catalog", "name": "Контрагенты" },
"args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" }
}
],
"params": { "objectPath": "Catalogs/Контрагенты" },
"input": {
"operations": [
{ "op": "add-attribute", "name": "ИНН", "type": "String", "length": 12 }
]
}
}