{ "name": "Команда объекта добавляется целиком (файла у неё нет)", "preRun": [ { "script": "meta-compile/scripts/meta-compile", "input": { "type": "Catalog", "name": "Контрагенты" }, "args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" } } ], "params": { "objectPath": "Catalogs/Контрагенты" }, "input": { "add": { "commands": [ "ОткрытьДосье" ] } }, "expect": { "stdoutContains": [ "Added command: ОткрытьДосье" ], "fileContains": [ { "file": "Catalogs/Контрагенты.xml", "text": [ "Single", "false", "Auto" ] } ], "files": [ "Catalogs/Контрагенты/Commands/ОткрытьДосье/Ext/CommandModule.bsl" ] } }