{"action":"created","comment":{"url":"https://api.github.com/repos/Cognifide/bobcat/pulls/comments/79366985","id":79366985,"diff_hunk":"@@ -0,0 +1,119 @@\n+/*-\n+ * #%L\n+ * Bobcat\n+ * %%\n+ * Copyright (C) 2016 Cognifide Ltd.\n+ * %%\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *      http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ * #L%\n+ */\n+package com.cognifide.qa.bb.cumber;\n+\n+import java.io.BufferedWriter;\n+import java.io.FileWriter;\n+import java.io.IOException;\n+import java.io.PrintWriter;\n+import java.util.HashMap;\n+import java.util.Map;\n+import java.util.Set;\n+\n+import org.apache.commons.lang3.CharEncoding;\n+import org.junit.runner.Description;\n+import org.junit.runner.Result;\n+import org.junit.runner.notification.Failure;\n+import org.junit.runner.notification.RunListener;\n+\n+import com.google.common.collect.Sets;\n+\n+public class BobcumberListener extends RunListener {\n+\n+\tprivate static final String FEATURE = \"feature\";\n+\n+\tprivate static final String SCENARIO = \"Scenario\";\n+\n+\tprivate static final Map<String, Set<String>> ADDED_FEATURES = new HashMap<>();\n+\n+\tprivate static final String COLON = \":\";\n+\n+\tprivate Integer scenarioCounter = 0;\n+\n+\tprivate Integer testFailureCounter = 0;\n+\n+\tprivate boolean alreadyRegistered;\n+\n+\tprivate Bobcumber bobcumber;","path":"bobcat/bb-cumber/src/main/java/com/cognifide/qa/bb/cumber/BobcumberListener.java","position":54,"original_position":54,"commit_id":"b5d9dd6fb30fbfb1138b35915caf76bdaeafe635","original_commit_id":"b5d9dd6fb30fbfb1138b35915caf76bdaeafe635","user":{"login":"mmanski","id":8754944,"avatar_url":"https://avatars.githubusercontent.com/u/8754944?v=3","gravatar_id":"","url":"https://api.github.com/users/mmanski","html_url":"https://github.com/mmanski","followers_url":"https://api.github.com/users/mmanski/followers","following_url":"https://api.github.com/users/mmanski/following{/other_user}","gists_url":"https://api.github.com/users/mmanski/gists{/gist_id}","starred_url":"https://api.github.com/users/mmanski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmanski/subscriptions","organizations_url":"https://api.github.com/users/mmanski/orgs","repos_url":"https://api.github.com/users/mmanski/repos","events_url":"https://api.github.com/users/mmanski/events{/privacy}","received_events_url":"https://api.github.com/users/mmanski/received_events","type":"User","site_admin":false},"body":"could be final","created_at":"2016-09-19T10:54:44Z","updated_at":"2016-09-19T10:54:44Z","html_url":"https://github.com/Cognifide/bobcat/pull/105#discussion_r79366985","pull_request_url":"https://api.github.com/repos/Cognifide/bobcat/pulls/105","_links":{"self":{"href":"https://api.github.com/repos/Cognifide/bobcat/pulls/comments/79366985"},"html":{"href":"https://github.com/Cognifide/bobcat/pull/105#discussion_r79366985"},"pull_request":{"href":"https://api.github.com/repos/Cognifide/bobcat/pulls/105"}}},"pull_request":{"url":"https://api.github.com/repos/Cognifide/bobcat/pulls/105","id":85767635,"html_url":"https://github.com/Cognifide/bobcat/pull/105","diff_url":"https://github.com/Cognifide/bobcat/pull/105.diff","patch_url":"https://github.com/Cognifide/bobcat/pull/105.patch","issue_url":"https://api.github.com/repos/Cognifide/bobcat/issues/105","number":105,"state":"open","locked":false,"title":"102","user":{"login":"nowszy94","id":12548679,"avatar_url":"https://avatars.githubusercontent.com/u/12548679?v=3","gravatar_id":"","url":"https://api.github.com/users/nowszy94","html_url":"https://github.com/nowszy94","followers_url":"https://api.github.com/users/nowszy94/followers","following_url":"https://api.github.com/users/nowszy94/following{/other_user}","gists_url":"https://api.github.com/users/nowszy94/gists{/gist_id}","starred_url":"https://api.github.com/users/nowszy94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nowszy94/subscriptions","organizations_url":"https://api.github.com/users/nowszy94/orgs","repos_url":"https://api.github.com/users/nowszy94/repos","events_url":"https://api.github.com/users/nowszy94/events{/privacy}","received_events_url":"https://api.github.com/users/nowszy94/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-19T10:16:25Z","updated_at":"2016-09-19T10:58:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ba807a3fc692763f5beaa2b6339c54201f0935a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Cognifide/bobcat/pulls/105/commits","review_comments_url":"https://api.github.com/repos/Cognifide/bobcat/pulls/105/comments","review_comment_url":"https://api.github.com/repos/Cognifide/bobcat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cognifide/bobcat/issues/105/comments","statuses_url":"https://api.github.com/repos/Cognifide/bobcat/statuses/b5d9dd6fb30fbfb1138b35915caf76bdaeafe635","head":{"label":"Cognifide:102","ref":"102","sha":"b5d9dd6fb30fbfb1138b35915caf76bdaeafe635","user":{"login":"Cognifide","id":932257,"avatar_url":"https://avatars.githubusercontent.com/u/932257?v=3","gravatar_id":"","url":"https://api.github.com/users/Cognifide","html_url":"https://github.com/Cognifide","followers_url":"https://api.github.com/users/Cognifide/followers","following_url":"https://api.github.com/users/Cognifide/following{/other_user}","gists_url":"https://api.github.com/users/Cognifide/gists{/gist_id}","starred_url":"https://api.github.com/users/Cognifide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cognifide/subscriptions","organizations_url":"https://api.github.com/users/Cognifide/orgs","repos_url":"https://api.github.com/users/Cognifide/repos","events_url":"https://api.github.com/users/Cognifide/events{/privacy}","received_events_url":"https://api.github.com/users/Cognifide/received_events","type":"Organization","site_admin":false},"repo":{"id":62303580,"name":"bobcat","full_name":"Cognifide/bobcat","owner":{"login":"Cognifide","id":932257,"avatar_url":"https://avatars.githubusercontent.com/u/932257?v=3","gravatar_id":"","url":"https://api.github.com/users/Cognifide","html_url":"https://github.com/Cognifide","followers_url":"https://api.github.com/users/Cognifide/followers","following_url":"https://api.github.com/users/Cognifide/following{/other_user}","gists_url":"https://api.github.com/users/Cognifide/gists{/gist_id}","starred_url":"https://api.github.com/users/Cognifide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cognifide/subscriptions","organizations_url":"https://api.github.com/users/Cognifide/orgs","repos_url":"https://api.github.com/users/Cognifide/repos","events_url":"https://api.github.com/users/Cognifide/events{/privacy}","received_events_url":"https://api.github.com/users/Cognifide/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cognifide/bobcat","description":"Bobcat is an automated testing framework for functional testing of web applications.","fork":false,"url":"https://api.github.com/repos/Cognifide/bobcat","forks_url":"https://api.github.com/repos/Cognifide/bobcat/forks","keys_url":"https://api.github.com/repos/Cognifide/bobcat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cognifide/bobcat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cognifide/bobcat/teams","hooks_url":"https://api.github.com/repos/Cognifide/bobcat/hooks","issue_events_url":"https://api.github.com/repos/Cognifide/bobcat/issues/events{/number}","events_url":"https://api.github.com/repos/Cognifide/bobcat/events","assignees_url":"https://api.github.com/repos/Cognifide/bobcat/assignees{/user}","branches_url":"https://api.github.com/repos/Cognifide/bobcat/branches{/branch}","tags_url":"https://api.github.com/repos/Cognifide/bobcat/tags","blobs_url":"https://api.github.com/repos/Cognifide/bobcat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cognifide/bobcat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cognifide/bobcat/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cognifide/bobcat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cognifide/bobcat/statuses/{sha}","languages_url":"https://api.github.com/repos/Cognifide/bobcat/languages","stargazers_url":"https://api.github.com/repos/Cognifide/bobcat/stargazers","contributors_url":"https://api.github.com/repos/Cognifide/bobcat/contributors","subscribers_url":"https://api.github.com/repos/Cognifide/bobcat/subscribers","subscription_url":"https://api.github.com/repos/Cognifide/bobcat/subscription","commits_url":"https://api.github.com/repos/Cognifide/bobcat/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cognifide/bobcat/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cognifide/bobcat/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cognifide/bobcat/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cognifide/bobcat/contents/{+path}","compare_url":"https://api.github.com/repos/Cognifide/bobcat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cognifide/bobcat/merges","archive_url":"https://api.github.com/repos/Cognifide/bobcat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cognifide/bobcat/downloads","issues_url":"https://api.github.com/repos/Cognifide/bobcat/issues{/number}","pulls_url":"https://api.github.com/repos/Cognifide/bobcat/pulls{/number}","milestones_url":"https://api.github.com/repos/Cognifide/bobcat/milestones{/number}","notifications_url":"https://api.github.com/repos/Cognifide/bobcat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cognifide/bobcat/labels{/name}","releases_url":"https://api.github.com/repos/Cognifide/bobcat/releases{/id}","deployments_url":"https://api.github.com/repos/Cognifide/bobcat/deployments","created_at":"2016-06-30T10:54:10Z","updated_at":"2016-09-16T12:04:56Z","pushed_at":"2016-09-19T10:27:59Z","git_url":"git://github.com/Cognifide/bobcat.git","ssh_url":"git@github.com:Cognifide/bobcat.git","clone_url":"https://github.com/Cognifide/bobcat.git","svn_url":"https://github.com/Cognifide/bobcat","homepage":"","size":4740,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":22,"forks":0,"open_issues":22,"watchers":8,"default_branch":"master"}},"base":{"label":"Cognifide:master","ref":"master","sha":"a8e724fbc06afe94e7164826d5039bc6c4e1ed89","user":{"login":"Cognifide","id":932257,"avatar_url":"https://avatars.githubusercontent.com/u/932257?v=3","gravatar_id":"","url":"https://api.github.com/users/Cognifide","html_url":"https://github.com/Cognifide","followers_url":"https://api.github.com/users/Cognifide/followers","following_url":"https://api.github.com/users/Cognifide/following{/other_user}","gists_url":"https://api.github.com/users/Cognifide/gists{/gist_id}","starred_url":"https://api.github.com/users/Cognifide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cognifide/subscriptions","organizations_url":"https://api.github.com/users/Cognifide/orgs","repos_url":"https://api.github.com/users/Cognifide/repos","events_url":"https://api.github.com/users/Cognifide/events{/privacy}","received_events_url":"https://api.github.com/users/Cognifide/received_events","type":"Organization","site_admin":false},"repo":{"id":62303580,"name":"bobcat","full_name":"Cognifide/bobcat","owner":{"login":"Cognifide","id":932257,"avatar_url":"https://avatars.githubusercontent.com/u/932257?v=3","gravatar_id":"","url":"https://api.github.com/users/Cognifide","html_url":"https://github.com/Cognifide","followers_url":"https://api.github.com/users/Cognifide/followers","following_url":"https://api.github.com/users/Cognifide/following{/other_user}","gists_url":"https://api.github.com/users/Cognifide/gists{/gist_id}","starred_url":"https://api.github.com/users/Cognifide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cognifide/subscriptions","organizations_url":"https://api.github.com/users/Cognifide/orgs","repos_url":"https://api.github.com/users/Cognifide/repos","events_url":"https://api.github.com/users/Cognifide/events{/privacy}","received_events_url":"https://api.github.com/users/Cognifide/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cognifide/bobcat","description":"Bobcat is an automated testing framework for functional testing of web applications.","fork":false,"url":"https://api.github.com/repos/Cognifide/bobcat","forks_url":"https://api.github.com/repos/Cognifide/bobcat/forks","keys_url":"https://api.github.com/repos/Cognifide/bobcat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cognifide/bobcat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cognifide/bobcat/teams","hooks_url":"https://api.github.com/repos/Cognifide/bobcat/hooks","issue_events_url":"https://api.github.com/repos/Cognifide/bobcat/issues/events{/number}","events_url":"https://api.github.com/repos/Cognifide/bobcat/events","assignees_url":"https://api.github.com/repos/Cognifide/bobcat/assignees{/user}","branches_url":"https://api.github.com/repos/Cognifide/bobcat/branches{/branch}","tags_url":"https://api.github.com/repos/Cognifide/bobcat/tags","blobs_url":"https://api.github.com/repos/Cognifide/bobcat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cognifide/bobcat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cognifide/bobcat/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cognifide/bobcat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cognifide/bobcat/statuses/{sha}","languages_url":"https://api.github.com/repos/Cognifide/bobcat/languages","stargazers_url":"https://api.github.com/repos/Cognifide/bobcat/stargazers","contributors_url":"https://api.github.com/repos/Cognifide/bobcat/contributors","subscribers_url":"https://api.github.com/repos/Cognifide/bobcat/subscribers","subscription_url":"https://api.github.com/repos/Cognifide/bobcat/subscription","commits_url":"https://api.github.com/repos/Cognifide/bobcat/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cognifide/bobcat/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cognifide/bobcat/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cognifide/bobcat/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cognifide/bobcat/contents/{+path}","compare_url":"https://api.github.com/repos/Cognifide/bobcat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cognifide/bobcat/merges","archive_url":"https://api.github.com/repos/Cognifide/bobcat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cognifide/bobcat/downloads","issues_url":"https://api.github.com/repos/Cognifide/bobcat/issues{/number}","pulls_url":"https://api.github.com/repos/Cognifide/bobcat/pulls{/number}","milestones_url":"https://api.github.com/repos/Cognifide/bobcat/milestones{/number}","notifications_url":"https://api.github.com/repos/Cognifide/bobcat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cognifide/bobcat/labels{/name}","releases_url":"https://api.github.com/repos/Cognifide/bobcat/releases{/id}","deployments_url":"https://api.github.com/repos/Cognifide/bobcat/deployments","created_at":"2016-06-30T10:54:10Z","updated_at":"2016-09-16T12:04:56Z","pushed_at":"2016-09-19T10:27:59Z","git_url":"git://github.com/Cognifide/bobcat.git","ssh_url":"git@github.com:Cognifide/bobcat.git","clone_url":"https://github.com/Cognifide/bobcat.git","svn_url":"https://github.com/Cognifide/bobcat","homepage":"","size":4740,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":22,"forks":0,"open_issues":22,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Cognifide/bobcat/pulls/105"},"html":{"href":"https://github.com/Cognifide/bobcat/pull/105"},"issue":{"href":"https://api.github.com/repos/Cognifide/bobcat/issues/105"},"comments":{"href":"https://api.github.com/repos/Cognifide/bobcat/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/Cognifide/bobcat/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/Cognifide/bobcat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cognifide/bobcat/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/Cognifide/bobcat/statuses/b5d9dd6fb30fbfb1138b35915caf76bdaeafe635"}}}}
{"actor":{"display_login":"mmanski"}}