{"action":"created","issue":{"url":"https://api.github.com/repos/prashant-ramcharan/courgette-jvm/issues/94","repository_url":"https://api.github.com/repos/prashant-ramcharan/courgette-jvm","labels_url":"https://api.github.com/repos/prashant-ramcharan/courgette-jvm/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/prashant-ramcharan/courgette-jvm/issues/94/comments","events_url":"https://api.github.com/repos/prashant-ramcharan/courgette-jvm/issues/94/events","html_url":"https://github.com/prashant-ramcharan/courgette-jvm/issues/94","id":394498249,"node_id":"MDU6SXNzdWUzOTQ0OTgyNDk=","number":94,"title":"Courgette Reporter shows testname with \"2\" appended to it","user":{"login":"bill2605","id":2414120,"node_id":"MDQ6VXNlcjI0MTQxMjA=","avatar_url":"https://avatars2.githubusercontent.com/u/2414120?v=4","gravatar_id":"","url":"https://api.github.com/users/bill2605","html_url":"https://github.com/bill2605","followers_url":"https://api.github.com/users/bill2605/followers","following_url":"https://api.github.com/users/bill2605/following{/other_user}","gists_url":"https://api.github.com/users/bill2605/gists{/gist_id}","starred_url":"https://api.github.com/users/bill2605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bill2605/subscriptions","organizations_url":"https://api.github.com/users/bill2605/orgs","repos_url":"https://api.github.com/users/bill2605/repos","events_url":"https://api.github.com/users/bill2605/events{/privacy}","received_events_url":"https://api.github.com/users/bill2605/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/prashant-ramcharan/courgette-jvm/milestones/11","html_url":"https://github.com/prashant-ramcharan/courgette-jvm/milestone/11","labels_url":"https://api.github.com/repos/prashant-ramcharan/courgette-jvm/milestones/11/labels","id":3928476,"node_id":"MDk6TWlsZXN0b25lMzkyODQ3Ng==","number":11,"title":"3.0.2","description":null,"creator":{"login":"prashant-ramcharan","id":2563149,"node_id":"MDQ6VXNlcjI1NjMxNDk=","avatar_url":"https://avatars0.githubusercontent.com/u/2563149?v=4","gravatar_id":"","url":"https://api.github.com/users/prashant-ramcharan","html_url":"https://github.com/prashant-ramcharan","followers_url":"https://api.github.com/users/prashant-ramcharan/followers","following_url":"https://api.github.com/users/prashant-ramcharan/following{/other_user}","gists_url":"https://api.github.com/users/prashant-ramcharan/gists{/gist_id}","starred_url":"https://api.github.com/users/prashant-ramcharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prashant-ramcharan/subscriptions","organizations_url":"https://api.github.com/users/prashant-ramcharan/orgs","repos_url":"https://api.github.com/users/prashant-ramcharan/repos","events_url":"https://api.github.com/users/prashant-ramcharan/events{/privacy}","received_events_url":"https://api.github.com/users/prashant-ramcharan/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2018-12-28T20:10:50Z","updated_at":"2018-12-28T20:10:50Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2018-12-27T22:12:03Z","updated_at":"2018-12-29T10:02:38Z","closed_at":null,"author_association":"NONE","body":"When running my tests, the report xml generated always appends \"2\" after each test name.\r\nDigging through the courgrette files generate in var folders, the test run.json\r\nshows:\r\n```\r\n      ],\r\n        \"line\": 7,\r\n        \"name\": \"Admin can create a new Channel\",\r\n        \"description\": \"\",\r\n        \"id\": \"channels;admin-can-create-a-new-channel\",\r\n        \"after\": [\r\n```\r\nthe test run. xml will show:\r\n```\r\n<testcase classname=\"Channels\" name=\"Admin can create a new Channel 2\" time=\"37.828686\">\r\n```\r\nwhile the testrun.html/report.js will show:\r\n```\r\nformatter.scenario({\r\n  \"name\": \"Admin can create a new Channel\",\r\n  \"description\": \"\",\r\n  \"keyword\": \"Scenario\",\r\n  \"tags\": [\r\n```\r\n\r\nI am currently failing at trying to figure out where and why the test case name in the xml files add 2 to the test name. Could you shed some light on the above?\r\n\r\ncourgette runner config:\r\n```\r\n@RunWith(Courgette.class)\r\n@CourgetteOptions(\r\n\t\tthreads = 2,\r\n\t\trunLevel = CourgetteRunLevel.SCENARIO,\r\n\t\trerunFailedScenarios = false,\r\n\t\tshowTestOutput = true,\r\n\t\tcucumberOptions = @CucumberOptions(\r\n\t\t\t\tfeatures = { \"src/test/resources/features\" },\r\n\t\t\t\tglue = { \"com.workjam.stepdefinition\" },\r\n\t\t\t\tplugin = {\r\n\t\t\t\t\t\t\"pretty:target/cucumber-report/cucumber-pretty.txt\",\r\n\t\t\t\t\t\t\"json:target/cucumber-report/cucumber.json\",\r\n\t\t\t\t\t\t\"html:target/cucumber-report/cucumber.html\",\r\n\t\t\t\t\t\t\"junit:target/cucumber-report/cucumber.xml\",\r\n\t\t\t\t},\r\n\t\t\t\ttags = { \"@RestReady\" }\r\n\t\t)\r\n)\r\n```"},"comment":{"url":"https://api.github.com/repos/prashant-ramcharan/courgette-jvm/issues/comments/450481119","html_url":"https://github.com/prashant-ramcharan/courgette-jvm/issues/94#issuecomment-450481119","issue_url":"https://api.github.com/repos/prashant-ramcharan/courgette-jvm/issues/94","id":450481119,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDQ4MTExOQ==","user":{"login":"prashant-ramcharan","id":2563149,"node_id":"MDQ6VXNlcjI1NjMxNDk=","avatar_url":"https://avatars0.githubusercontent.com/u/2563149?v=4","gravatar_id":"","url":"https://api.github.com/users/prashant-ramcharan","html_url":"https://github.com/prashant-ramcharan","followers_url":"https://api.github.com/users/prashant-ramcharan/followers","following_url":"https://api.github.com/users/prashant-ramcharan/following{/other_user}","gists_url":"https://api.github.com/users/prashant-ramcharan/gists{/gist_id}","starred_url":"https://api.github.com/users/prashant-ramcharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prashant-ramcharan/subscriptions","organizations_url":"https://api.github.com/users/prashant-ramcharan/orgs","repos_url":"https://api.github.com/users/prashant-ramcharan/repos","events_url":"https://api.github.com/users/prashant-ramcharan/events{/privacy}","received_events_url":"https://api.github.com/users/prashant-ramcharan/received_events","type":"User","site_admin":false},"created_at":"2018-12-29T10:02:38Z","updated_at":"2018-12-29T10:02:38Z","author_association":"OWNER","body":"That's fine, will keep it open until it's merged into master.\r\n\r\nThanks for reporting."}}
{"actor":{"display_login":"prashant-ramcharan"}}