{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/626","repository_url":"https://api.github.com/repos/cucumber/cucumber-jvm","labels_url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/626/comments","events_url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/626/events","html_url":"https://github.com/cucumber/cucumber-jvm/pull/626","id":22375586,"node_id":"MDExOlB1bGxSZXF1ZXN0OTgxNzA1OQ==","number":626,"title":"Restructured JUnit class/method name reporting","user":{"login":"sirchia","id":1017332,"node_id":"MDQ6VXNlcjEwMTczMzI=","avatar_url":"https://avatars2.githubusercontent.com/u/1017332?v=4","gravatar_id":"","url":"https://api.github.com/users/sirchia","html_url":"https://github.com/sirchia","followers_url":"https://api.github.com/users/sirchia/followers","following_url":"https://api.github.com/users/sirchia/following{/other_user}","gists_url":"https://api.github.com/users/sirchia/gists{/gist_id}","starred_url":"https://api.github.com/users/sirchia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirchia/subscriptions","organizations_url":"https://api.github.com/users/sirchia/orgs","repos_url":"https://api.github.com/users/sirchia/repos","events_url":"https://api.github.com/users/sirchia/events{/privacy}","received_events_url":"https://api.github.com/users/sirchia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2013-11-09T01:52:39Z","updated_at":"2018-10-25T01:14:02Z","closed_at":"2017-06-11T00:12:51Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/cucumber/cucumber-jvm/pulls/626","html_url":"https://github.com/cucumber/cucumber-jvm/pull/626","diff_url":"https://github.com/cucumber/cucumber-jvm/pull/626.diff","patch_url":"https://github.com/cucumber/cucumber-jvm/pull/626.patch"},"body":"I propose the following slight tweaks to the way the scenarios/steps are mentioned in the name and classname attributes of the JUnit XML report:\n“Scenario( Outline): <scenario name>” map to the ‘package’ of the JUnit reported classname\n“|<example row>|” or “Scenario” map to the class name of the JUnit reported classname\n“<step keyword> step description” map to the name of the JUnit reported test case\n\nThe main reason for this change is to have a more structured view in a JUnit based test overview page like that of Jenkins, where on the 1st page a list of packages (=scenario names) is shown. Clicking on a package shows all test classes (=examples, or just 'Scenario' if it isn't an outline scenario) in that package. Clicking on a class shows all test methods (=steps of that scenario).\n\nAlso, failing tests are shown on the overview page with their complete package.classname.testmethod description and with this mapping, it is instantly clear which step of which scenario (example) has failed.\n\nIn order to make sure the parsing of packages (substring of 0 - <index of last dot> in classname) and JUnit internal distinction of class and method in its description goes alright, the following character replacements are done in the scenario and descriptions and example rows:\n. translates to ,\n( translates to {\n) translates to }\n\nFinally, the redundant reporting on the scenario itself has been removed.\n"},"comment":{"url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/comments/432879608","html_url":"https://github.com/cucumber/cucumber-jvm/pull/626#issuecomment-432879608","issue_url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/626","id":432879608,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjg3OTYwOA==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-10-25T01:14:02Z","updated_at":"2018-10-25T01:14:02Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}