{"action":"closed","issue":{"url":"https://api.github.com/repos/SGolenzovskiy/altrc/issues/28","repository_url":"https://api.github.com/repos/SGolenzovskiy/altrc","labels_url":"https://api.github.com/repos/SGolenzovskiy/altrc/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/SGolenzovskiy/altrc/issues/28/comments","events_url":"https://api.github.com/repos/SGolenzovskiy/altrc/issues/28/events","html_url":"https://github.com/SGolenzovskiy/altrc/issues/28","id":180529072,"number":28,"title":"Первый unit тест (метод getImgPath)","user":{"login":"sintsov","id":7813708,"avatar_url":"https://avatars.githubusercontent.com/u/7813708?v=3","gravatar_id":"","url":"https://api.github.com/users/sintsov","html_url":"https://github.com/sintsov","followers_url":"https://api.github.com/users/sintsov/followers","following_url":"https://api.github.com/users/sintsov/following{/other_user}","gists_url":"https://api.github.com/users/sintsov/gists{/gist_id}","starred_url":"https://api.github.com/users/sintsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sintsov/subscriptions","organizations_url":"https://api.github.com/users/sintsov/orgs","repos_url":"https://api.github.com/users/sintsov/repos","events_url":"https://api.github.com/users/sintsov/events{/privacy}","received_events_url":"https://api.github.com/users/sintsov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SGolenzovskiy/altrc/labels/feature","name":"feature","color":"fbca04"},{"url":"https://api.github.com/repos/SGolenzovskiy/altrc/labels/priority:normal","name":"priority:normal","color":"c2e0c6"}],"state":"closed","locked":false,"assignee":{"login":"SGolenzovskiy","id":18659104,"avatar_url":"https://avatars.githubusercontent.com/u/18659104?v=3","gravatar_id":"","url":"https://api.github.com/users/SGolenzovskiy","html_url":"https://github.com/SGolenzovskiy","followers_url":"https://api.github.com/users/SGolenzovskiy/followers","following_url":"https://api.github.com/users/SGolenzovskiy/following{/other_user}","gists_url":"https://api.github.com/users/SGolenzovskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/SGolenzovskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SGolenzovskiy/subscriptions","organizations_url":"https://api.github.com/users/SGolenzovskiy/orgs","repos_url":"https://api.github.com/users/SGolenzovskiy/repos","events_url":"https://api.github.com/users/SGolenzovskiy/events{/privacy}","received_events_url":"https://api.github.com/users/SGolenzovskiy/received_events","type":"User","site_admin":false},"assignees":[{"login":"SGolenzovskiy","id":18659104,"avatar_url":"https://avatars.githubusercontent.com/u/18659104?v=3","gravatar_id":"","url":"https://api.github.com/users/SGolenzovskiy","html_url":"https://github.com/SGolenzovskiy","followers_url":"https://api.github.com/users/SGolenzovskiy/followers","following_url":"https://api.github.com/users/SGolenzovskiy/following{/other_user}","gists_url":"https://api.github.com/users/SGolenzovskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/SGolenzovskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SGolenzovskiy/subscriptions","organizations_url":"https://api.github.com/users/SGolenzovskiy/orgs","repos_url":"https://api.github.com/users/SGolenzovskiy/repos","events_url":"https://api.github.com/users/SGolenzovskiy/events{/privacy}","received_events_url":"https://api.github.com/users/SGolenzovskiy/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/SGolenzovskiy/altrc/milestones/3","html_url":"https://github.com/SGolenzovskiy/altrc/milestones/%D1%82%D0%B5%D1%81%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5","labels_url":"https://api.github.com/repos/SGolenzovskiy/altrc/milestones/3/labels","id":2045989,"number":3,"title":"тестирование","description":"","creator":{"login":"sintsov","id":7813708,"avatar_url":"https://avatars.githubusercontent.com/u/7813708?v=3","gravatar_id":"","url":"https://api.github.com/users/sintsov","html_url":"https://github.com/sintsov","followers_url":"https://api.github.com/users/sintsov/followers","following_url":"https://api.github.com/users/sintsov/following{/other_user}","gists_url":"https://api.github.com/users/sintsov/gists{/gist_id}","starred_url":"https://api.github.com/users/sintsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sintsov/subscriptions","organizations_url":"https://api.github.com/users/sintsov/orgs","repos_url":"https://api.github.com/users/sintsov/repos","events_url":"https://api.github.com/users/sintsov/events{/privacy}","received_events_url":"https://api.github.com/users/sintsov/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2016-10-04T06:50:35Z","updated_at":"2016-10-08T19:34:45Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-10-02T19:13:54Z","updated_at":"2016-10-08T19:34:45Z","closed_at":"2016-10-08T19:34:45Z","body":"Используем PHPUnit. Инфы очень много по модульному тестированию.\r\nМожно глянуть советы от самой лары http://laravel.su/docs/5.2/testing\r\n\r\nЕсли походу найдешь какие то удачные статьи запиши их в вики.\r\n\r\nДавай попробуем покрыть тестами пока метод getImgPath из класса Project, возможные кейсы:\r\n- передан пустой dir\r\n- проверка на то что полученный путь содержит действительно реальный путь до папки проекта\r\n- что вернулась не пустая строка\r\n\r\nЕсли придумаешь еще кейсы отлично, это первый экспериментальный кейс."}}
{"actor":{"display_login":"SGolenzovskiy"}}