mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-28 05:59:41 +03:00
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:
co-authored by
Claude Opus 4.6
parent
347722ef0d
commit
95776a4248
@@ -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 }
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user