{"action":"opened","issue":{"url":"https://api.github.com/repos/adambrett/php-shell-wrapper/issues/20","repository_url":"https://api.github.com/repos/adambrett/php-shell-wrapper","labels_url":"https://api.github.com/repos/adambrett/php-shell-wrapper/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/adambrett/php-shell-wrapper/issues/20/comments","events_url":"https://api.github.com/repos/adambrett/php-shell-wrapper/issues/20/events","html_url":"https://github.com/adambrett/php-shell-wrapper/issues/20","id":203958737,"number":20,"title":"Add FakeRunner for testing application","user":{"login":"Bukharovsi","id":932921,"avatar_url":"https://avatars.githubusercontent.com/u/932921?v=3","gravatar_id":"","url":"https://api.github.com/users/Bukharovsi","html_url":"https://github.com/Bukharovsi","followers_url":"https://api.github.com/users/Bukharovsi/followers","following_url":"https://api.github.com/users/Bukharovsi/following{/other_user}","gists_url":"https://api.github.com/users/Bukharovsi/gists{/gist_id}","starred_url":"https://api.github.com/users/Bukharovsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bukharovsi/subscriptions","organizations_url":"https://api.github.com/users/Bukharovsi/orgs","repos_url":"https://api.github.com/users/Bukharovsi/repos","events_url":"https://api.github.com/users/Bukharovsi/events{/privacy}","received_events_url":"https://api.github.com/users/Bukharovsi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-30T09:19:24Z","updated_at":"2017-01-30T09:19:24Z","closed_at":null,"body":"I suggest add `FakeRunner` which will be emulate running the command. \r\nIt must be used in unit and integration tests.\r\nAlso i suggest add `EchoFakeRunner` which will be not execute command but prints the command. It will be used when application runs with `--dry-run` argument\r\n\r\nIf application wrote with IOC principle it will be easy to substitute real runner to fake runner."}}
{"actor":{"display_login":"Bukharovsi"}}