{"action":"created","comment":{"url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/pulls/comments/98613044","pull_request_review_id":19257916,"id":98613044,"diff_hunk":"@@ -1,16 +1,21 @@\n-#macro(includeOutput, $output)\n+#macro(includeOutput, $outputs, $isPassed)\n \n-#if ($output)\n+#if($outputs)\n   <div class=\"outputs inner-level\">\n-    #foreach($message in $output.getMessages())\n+    #foreach($output in $outputs)","path":"src/main/resources/templates/macros/json/output.vm","position":8,"original_position":8,"commit_id":"b55506869dd4b5df3ad7762c9528384c85f24115","original_commit_id":"b55506869dd4b5df3ad7762c9528384c85f24115","user":{"login":"v1nt06","id":2842503,"avatar_url":"https://avatars.githubusercontent.com/u/2842503?v=3","gravatar_id":"","url":"https://api.github.com/users/v1nt06","html_url":"https://github.com/v1nt06","followers_url":"https://api.github.com/users/v1nt06/followers","following_url":"https://api.github.com/users/v1nt06/following{/other_user}","gists_url":"https://api.github.com/users/v1nt06/gists{/gist_id}","starred_url":"https://api.github.com/users/v1nt06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v1nt06/subscriptions","organizations_url":"https://api.github.com/users/v1nt06/orgs","repos_url":"https://api.github.com/users/v1nt06/repos","events_url":"https://api.github.com/users/v1nt06/events{/privacy}","received_events_url":"https://api.github.com/users/v1nt06/received_events","type":"User","site_admin":false},"body":"Sure. Here is demo screenshots.\r\nCurrent output:\r\n![old](https://cloud.githubusercontent.com/assets/2842503/22456431/d0613fa4-e7ab-11e6-964b-dc7e21cf3f71.png)\r\n\r\nNew output:\r\n![new](https://cloud.githubusercontent.com/assets/2842503/22456438/da019d88-e7ab-11e6-96d1-8214ccb71143.png)\r\n","created_at":"2017-01-31T07:54:53Z","updated_at":"2017-01-31T07:54:53Z","html_url":"https://github.com/damianszczepanik/cucumber-reporting/pull/594#discussion_r98613044","pull_request_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/pulls/594","_links":{"self":{"href":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/pulls/comments/98613044"},"html":{"href":"https://github.com/damianszczepanik/cucumber-reporting/pull/594#discussion_r98613044"},"pull_request":{"href":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/pulls/594"}}},"pull_request":{"url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/pulls/594","id":103110596,"html_url":"https://github.com/damianszczepanik/cucumber-reporting/pull/594","diff_url":"https://github.com/damianszczepanik/cucumber-reporting/pull/594.diff","patch_url":"https://github.com/damianszczepanik/cucumber-reporting/pull/594.patch","issue_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/issues/594","number":594,"state":"open","locked":false,"title":"Output messages grouping","user":{"login":"v1nt06","id":2842503,"avatar_url":"https://avatars.githubusercontent.com/u/2842503?v=3","gravatar_id":"","url":"https://api.github.com/users/v1nt06","html_url":"https://github.com/v1nt06","followers_url":"https://api.github.com/users/v1nt06/followers","following_url":"https://api.github.com/users/v1nt06/following{/other_user}","gists_url":"https://api.github.com/users/v1nt06/gists{/gist_id}","starred_url":"https://api.github.com/users/v1nt06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v1nt06/subscriptions","organizations_url":"https://api.github.com/users/v1nt06/orgs","repos_url":"https://api.github.com/users/v1nt06/repos","events_url":"https://api.github.com/users/v1nt06/events{/privacy}","received_events_url":"https://api.github.com/users/v1nt06/received_events","type":"User","site_admin":false},"body":"Hello Damian,\r\n\r\nAbout 3 months ago I created same pull request, but I was busy to fix changes after your review ([previous pull request with my new replies](https://github.com/damianszczepanik/cucumber-reporting/pull/518#pullrequestreview-3009123)). So, now I complete this and rewrote some code. Could you take a look and accept pull request if everything is good?  Current functional changes in my fork:\r\n\r\n- Added grouping for output messages inside steps\r\n- Outputs from different sources grouped separately\r\n- Added word wrapping for messages and errors\r\n- Error message title contains description (1st line of full error message, e.g. exception name)\r\n- Error messages and outputs is expanded by default\r\n\r\nSample.json with this functional changes:\r\n![sample json](https://cloud.githubusercontent.com/assets/2842503/22290622/5974337c-e31b-11e6-875f-be29fc26ef84.png)\r\n\r\nTest scenario with different outputs:\r\n![expample](https://cloud.githubusercontent.com/assets/2842503/22290631/68aad1a2-e31b-11e6-9df1-4149733f7390.png)\r\n","created_at":"2017-01-25T12:36:28Z","updated_at":"2017-01-31T07:54:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4775e55aedc3cd0f32c7d18e983b1d0057b11df4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/pulls/594/commits","review_comments_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/pulls/594/comments","review_comment_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/pulls/comments{/number}","comments_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/issues/594/comments","statuses_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/statuses/b55506869dd4b5df3ad7762c9528384c85f24115","head":{"label":"v1nt06:master","ref":"master","sha":"b55506869dd4b5df3ad7762c9528384c85f24115","user":{"login":"v1nt06","id":2842503,"avatar_url":"https://avatars.githubusercontent.com/u/2842503?v=3","gravatar_id":"","url":"https://api.github.com/users/v1nt06","html_url":"https://github.com/v1nt06","followers_url":"https://api.github.com/users/v1nt06/followers","following_url":"https://api.github.com/users/v1nt06/following{/other_user}","gists_url":"https://api.github.com/users/v1nt06/gists{/gist_id}","starred_url":"https://api.github.com/users/v1nt06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v1nt06/subscriptions","organizations_url":"https://api.github.com/users/v1nt06/orgs","repos_url":"https://api.github.com/users/v1nt06/repos","events_url":"https://api.github.com/users/v1nt06/events{/privacy}","received_events_url":"https://api.github.com/users/v1nt06/received_events","type":"User","site_admin":false},"repo":{"id":68106729,"name":"cucumber-reporting","full_name":"v1nt06/cucumber-reporting","owner":{"login":"v1nt06","id":2842503,"avatar_url":"https://avatars.githubusercontent.com/u/2842503?v=3","gravatar_id":"","url":"https://api.github.com/users/v1nt06","html_url":"https://github.com/v1nt06","followers_url":"https://api.github.com/users/v1nt06/followers","following_url":"https://api.github.com/users/v1nt06/following{/other_user}","gists_url":"https://api.github.com/users/v1nt06/gists{/gist_id}","starred_url":"https://api.github.com/users/v1nt06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v1nt06/subscriptions","organizations_url":"https://api.github.com/users/v1nt06/orgs","repos_url":"https://api.github.com/users/v1nt06/repos","events_url":"https://api.github.com/users/v1nt06/events{/privacy}","received_events_url":"https://api.github.com/users/v1nt06/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/v1nt06/cucumber-reporting","description":"HTML reports for Cucumber","fork":true,"url":"https://api.github.com/repos/v1nt06/cucumber-reporting","forks_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/forks","keys_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/teams","hooks_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/hooks","issue_events_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/issues/events{/number}","events_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/events","assignees_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/assignees{/user}","branches_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/branches{/branch}","tags_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/tags","blobs_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/git/refs{/sha}","trees_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/statuses/{sha}","languages_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/languages","stargazers_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/stargazers","contributors_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/contributors","subscribers_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/subscribers","subscription_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/subscription","commits_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/commits{/sha}","git_commits_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/git/commits{/sha}","comments_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/comments{/number}","issue_comment_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/issues/comments{/number}","contents_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/contents/{+path}","compare_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/merges","archive_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/downloads","issues_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/issues{/number}","pulls_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/pulls{/number}","milestones_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/milestones{/number}","notifications_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/labels{/name}","releases_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/releases{/id}","deployments_url":"https://api.github.com/repos/v1nt06/cucumber-reporting/deployments","created_at":"2016-09-13T12:34:36Z","updated_at":"2016-09-13T12:34:37Z","pushed_at":"2017-01-25T11:47:18Z","git_url":"git://github.com/v1nt06/cucumber-reporting.git","ssh_url":"git@github.com:v1nt06/cucumber-reporting.git","clone_url":"https://github.com/v1nt06/cucumber-reporting.git","svn_url":"https://github.com/v1nt06/cucumber-reporting","homepage":"","size":21987,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"damianszczepanik:master","ref":"master","sha":"150cb5da5fc6e629bdc809a12660ae07b92f47a4","user":{"login":"damianszczepanik","id":9612911,"avatar_url":"https://avatars.githubusercontent.com/u/9612911?v=3","gravatar_id":"","url":"https://api.github.com/users/damianszczepanik","html_url":"https://github.com/damianszczepanik","followers_url":"https://api.github.com/users/damianszczepanik/followers","following_url":"https://api.github.com/users/damianszczepanik/following{/other_user}","gists_url":"https://api.github.com/users/damianszczepanik/gists{/gist_id}","starred_url":"https://api.github.com/users/damianszczepanik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianszczepanik/subscriptions","organizations_url":"https://api.github.com/users/damianszczepanik/orgs","repos_url":"https://api.github.com/users/damianszczepanik/repos","events_url":"https://api.github.com/users/damianszczepanik/events{/privacy}","received_events_url":"https://api.github.com/users/damianszczepanik/received_events","type":"User","site_admin":false},"repo":{"id":4916824,"name":"cucumber-reporting","full_name":"damianszczepanik/cucumber-reporting","owner":{"login":"damianszczepanik","id":9612911,"avatar_url":"https://avatars.githubusercontent.com/u/9612911?v=3","gravatar_id":"","url":"https://api.github.com/users/damianszczepanik","html_url":"https://github.com/damianszczepanik","followers_url":"https://api.github.com/users/damianszczepanik/followers","following_url":"https://api.github.com/users/damianszczepanik/following{/other_user}","gists_url":"https://api.github.com/users/damianszczepanik/gists{/gist_id}","starred_url":"https://api.github.com/users/damianszczepanik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianszczepanik/subscriptions","organizations_url":"https://api.github.com/users/damianszczepanik/orgs","repos_url":"https://api.github.com/users/damianszczepanik/repos","events_url":"https://api.github.com/users/damianszczepanik/events{/privacy}","received_events_url":"https://api.github.com/users/damianszczepanik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/damianszczepanik/cucumber-reporting","description":"HTML reports for Cucumber","fork":false,"url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting","forks_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/forks","keys_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/teams","hooks_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/hooks","issue_events_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/issues/events{/number}","events_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/events","assignees_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/assignees{/user}","branches_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/branches{/branch}","tags_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/tags","blobs_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/git/refs{/sha}","trees_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/statuses/{sha}","languages_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/languages","stargazers_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/stargazers","contributors_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/contributors","subscribers_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/subscribers","subscription_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/subscription","commits_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/commits{/sha}","git_commits_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/git/commits{/sha}","comments_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/comments{/number}","issue_comment_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/issues/comments{/number}","contents_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/contents/{+path}","compare_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/merges","archive_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/downloads","issues_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/issues{/number}","pulls_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/pulls{/number}","milestones_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/milestones{/number}","notifications_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/labels{/name}","releases_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/releases{/id}","deployments_url":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/deployments","created_at":"2012-07-05T23:20:43Z","updated_at":"2017-01-30T04:19:07Z","pushed_at":"2017-01-25T18:08:54Z","git_url":"git://github.com/damianszczepanik/cucumber-reporting.git","ssh_url":"git@github.com:damianszczepanik/cucumber-reporting.git","clone_url":"https://github.com/damianszczepanik/cucumber-reporting.git","svn_url":"https://github.com/damianszczepanik/cucumber-reporting","homepage":"","size":21978,"stargazers_count":144,"watchers_count":144,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":172,"mirror_url":null,"open_issues_count":6,"forks":172,"open_issues":6,"watchers":144,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/pulls/594"},"html":{"href":"https://github.com/damianszczepanik/cucumber-reporting/pull/594"},"issue":{"href":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/issues/594"},"comments":{"href":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/issues/594/comments"},"review_comments":{"href":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/pulls/594/comments"},"review_comment":{"href":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/pulls/594/commits"},"statuses":{"href":"https://api.github.com/repos/damianszczepanik/cucumber-reporting/statuses/b55506869dd4b5df3ad7762c9528384c85f24115"}}}}
{"actor":{"display_login":"v1nt06"}}