{"action":"created","issue":{"url":"https://api.github.com/repos/Behat/Behat/issues/635","labels_url":"https://api.github.com/repos/Behat/Behat/issues/635/labels{/name}","comments_url":"https://api.github.com/repos/Behat/Behat/issues/635/comments","events_url":"https://api.github.com/repos/Behat/Behat/issues/635/events","html_url":"https://github.com/Behat/Behat/pull/635","id":42732171,"number":635,"title":"[POC] Draft of a digest formatter","user":{"login":"gquemener","id":668604,"avatar_url":"https://avatars.githubusercontent.com/u/668604?v=3","gravatar_id":"","url":"https://api.github.com/users/gquemener","html_url":"https://github.com/gquemener","followers_url":"https://api.github.com/users/gquemener/followers","following_url":"https://api.github.com/users/gquemener/following{/other_user}","gists_url":"https://api.github.com/users/gquemener/gists{/gist_id}","starred_url":"https://api.github.com/users/gquemener/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gquemener/subscriptions","organizations_url":"https://api.github.com/users/gquemener/orgs","repos_url":"https://api.github.com/users/gquemener/repos","events_url":"https://api.github.com/users/gquemener/events{/privacy}","received_events_url":"https://api.github.com/users/gquemener/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Behat/Behat/labels/feature","name":"feature","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-09-14T22:21:28Z","updated_at":"2015-12-30T15:12:42Z","closed_at":"2015-12-30T12:07:16Z","pull_request":{"url":"https://api.github.com/repos/Behat/Behat/pulls/635","html_url":"https://github.com/Behat/Behat/pull/635","diff_url":"https://github.com/Behat/Behat/pull/635.diff","patch_url":"https://github.com/Behat/Behat/pull/635.patch"},"body":"After reading https://github.com/Behat/Behat/issues/337,\r\nI came up with the idea of implementing that formatter to get a list of scenarios.\r\n\r\nMy goal is to make it available through `behat --digest` (like `behat --config-reference`) and to make it usefull to quickly find a scenario file/line to execute this particular one.\r\n\r\nFor the moment, one must use `behat --dry-run -f digest --no-snippets`\r\nHere's the result:\r\n![screenshot from 2014-09-15 12 17 23](https://cloud.githubusercontent.com/assets/668604/4269833/8512845a-3cc1-11e4-9c77-732a573a9454.png)\r\n\r\nIn my opinion, if you think it's better to keep it as a formatter (than a --digest option), then test result should be displayed next to the scenario title with a tick, an \"X\", or anything that show the actual scenario execution result (one might still run with --dry-run to quicky view the list).\r\n\r\nThis is open to discussion, I used \"digest\" instead of \"terse\" cause it simply makes more sense to me."},"comment":{"url":"https://api.github.com/repos/Behat/Behat/issues/comments/168017138","html_url":"https://github.com/Behat/Behat/pull/635#issuecomment-168017138","issue_url":"https://api.github.com/repos/Behat/Behat/issues/635","id":168017138,"user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T15:12:42Z","updated_at":"2015-12-30T15:12:42Z","body":"@gquemener making it a formatter means it would look very similar to a TAP output (it would just be a matter of putting the execution result on the left). So I think a better feature would be to implement a TAP formatter."}}