{"action":"created","issue":{"url":"https://api.github.com/repos/xDrivenDevelopment/xUnitFor1C/issues/548","labels_url":"https://api.github.com/repos/xDrivenDevelopment/xUnitFor1C/issues/548/labels{/name}","comments_url":"https://api.github.com/repos/xDrivenDevelopment/xUnitFor1C/issues/548/comments","events_url":"https://api.github.com/repos/xDrivenDevelopment/xUnitFor1C/issues/548/events","html_url":"https://github.com/xDrivenDevelopment/xUnitFor1C/issues/548","id":112157818,"number":548,"title":"Добавить обработку на существование обработчика Инициализация","user":{"login":"artbear","id":2920817,"avatar_url":"https://avatars.githubusercontent.com/u/2920817?v=3","gravatar_id":"","url":"https://api.github.com/users/artbear","html_url":"https://github.com/artbear","followers_url":"https://api.github.com/users/artbear/followers","following_url":"https://api.github.com/users/artbear/following{/other_user}","gists_url":"https://api.github.com/users/artbear/gists{/gist_id}","starred_url":"https://api.github.com/users/artbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artbear/subscriptions","organizations_url":"https://api.github.com/users/artbear/orgs","repos_url":"https://api.github.com/users/artbear/repos","events_url":"https://api.github.com/users/artbear/events{/privacy}","received_events_url":"https://api.github.com/users/artbear/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xDrivenDevelopment/xUnitFor1C/labels/0%20-%20Backlog","name":"0 - Backlog","color":"CCCCCC"},{"url":"https://api.github.com/repos/xDrivenDevelopment/xUnitFor1C/labels/1%D0%A1:%D0%9F%D1%80%D0%B5%D0%B4%D0%BF%D1%80%D0%B8%D1%8F%D1%82%D0%B8%D0%B5","name":"1С:Предприятие","color":"d7e102"},{"url":"https://api.github.com/repos/xDrivenDevelopment/xUnitFor1C/labels/%D0%A3%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D1%8F%D0%B5%D0%BC%D0%BE%D0%B5%20%D0%BF%D1%80%D0%B8%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5%201%D0%A1","name":"Управляемое приложение 1С","color":"d7e102"}],"state":"closed","locked":false,"assignee":{"login":"artbear","id":2920817,"avatar_url":"https://avatars.githubusercontent.com/u/2920817?v=3","gravatar_id":"","url":"https://api.github.com/users/artbear","html_url":"https://github.com/artbear","followers_url":"https://api.github.com/users/artbear/followers","following_url":"https://api.github.com/users/artbear/following{/other_user}","gists_url":"https://api.github.com/users/artbear/gists{/gist_id}","starred_url":"https://api.github.com/users/artbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artbear/subscriptions","organizations_url":"https://api.github.com/users/artbear/orgs","repos_url":"https://api.github.com/users/artbear/repos","events_url":"https://api.github.com/users/artbear/events{/privacy}","received_events_url":"https://api.github.com/users/artbear/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/xDrivenDevelopment/xUnitFor1C/milestones/27","html_url":"https://github.com/xDrivenDevelopment/xUnitFor1C/milestones/4.0.0.0","labels_url":"https://api.github.com/repos/xDrivenDevelopment/xUnitFor1C/milestones/27/labels","id":1131663,"number":27,"title":"4.0.0.0","description":"","creator":{"login":"artbear","id":2920817,"avatar_url":"https://avatars.githubusercontent.com/u/2920817?v=3","gravatar_id":"","url":"https://api.github.com/users/artbear","html_url":"https://github.com/artbear","followers_url":"https://api.github.com/users/artbear/followers","following_url":"https://api.github.com/users/artbear/following{/other_user}","gists_url":"https://api.github.com/users/artbear/gists{/gist_id}","starred_url":"https://api.github.com/users/artbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artbear/subscriptions","organizations_url":"https://api.github.com/users/artbear/orgs","repos_url":"https://api.github.com/users/artbear/repos","events_url":"https://api.github.com/users/artbear/events{/privacy}","received_events_url":"https://api.github.com/users/artbear/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":20,"state":"open","created_at":"2015-05-25T16:15:19Z","updated_at":"2015-12-12T22:24:29Z","due_on":"2015-09-01T21:00:00Z","closed_at":null},"comments":6,"created_at":"2015-10-19T14:33:58Z","updated_at":"2015-12-12T22:24:29Z","closed_at":"2015-12-12T22:24:29Z","body":"Сейчас в коде используется прямой вызов методов тест-обработки/тест-формы.\r\n`КонтекстВыполнения.Инициализация(ОбъектНаСервере);`\r\n`КонтекстВыполнения.Инициализация(ЭтаФорма);`\r\n\r\nЕсли в коде модуля теста не будет такой обработки, будет возникать не совсем понятные исключения. Например, для тестов в старом формате теста.\r\n\r\nПредлагаю сделать поведение аналогично методу `ПолучитьСписокТестов`.\r\nЕсли метода нет, выдавать исключение со спец.текстом о неподходящем формате теста.\r\n"},"comment":{"url":"https://api.github.com/repos/xDrivenDevelopment/xUnitFor1C/issues/comments/164198895","html_url":"https://github.com/xDrivenDevelopment/xUnitFor1C/issues/548#issuecomment-164198895","issue_url":"https://api.github.com/repos/xDrivenDevelopment/xUnitFor1C/issues/548","id":164198895,"user":{"login":"artbear","id":2920817,"avatar_url":"https://avatars.githubusercontent.com/u/2920817?v=3","gravatar_id":"","url":"https://api.github.com/users/artbear","html_url":"https://github.com/artbear","followers_url":"https://api.github.com/users/artbear/followers","following_url":"https://api.github.com/users/artbear/following{/other_user}","gists_url":"https://api.github.com/users/artbear/gists{/gist_id}","starred_url":"https://api.github.com/users/artbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artbear/subscriptions","organizations_url":"https://api.github.com/users/artbear/orgs","repos_url":"https://api.github.com/users/artbear/repos","events_url":"https://api.github.com/users/artbear/events{/privacy}","received_events_url":"https://api.github.com/users/artbear/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T22:24:29Z","updated_at":"2015-12-12T22:24:29Z","body":"Исправлено."}}