{"action":"created","issue":{"url":"https://api.github.com/repos/cbeust/testng/issues/1211","repository_url":"https://api.github.com/repos/cbeust/testng","labels_url":"https://api.github.com/repos/cbeust/testng/issues/1211/labels{/name}","comments_url":"https://api.github.com/repos/cbeust/testng/issues/1211/comments","events_url":"https://api.github.com/repos/cbeust/testng/issues/1211/events","html_url":"https://github.com/cbeust/testng/issues/1211","id":184412143,"number":1211,"title":"[Bug] JUnit Reporter doesn't include ignored methods","user":{"login":"gdemecki","id":617283,"avatar_url":"https://avatars.githubusercontent.com/u/617283?v=3","gravatar_id":"","url":"https://api.github.com/users/gdemecki","html_url":"https://github.com/gdemecki","followers_url":"https://api.github.com/users/gdemecki/followers","following_url":"https://api.github.com/users/gdemecki/following{/other_user}","gists_url":"https://api.github.com/users/gdemecki/gists{/gist_id}","starred_url":"https://api.github.com/users/gdemecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdemecki/subscriptions","organizations_url":"https://api.github.com/users/gdemecki/orgs","repos_url":"https://api.github.com/users/gdemecki/repos","events_url":"https://api.github.com/users/gdemecki/events{/privacy}","received_events_url":"https://api.github.com/users/gdemecki/received_events","type":"User","site_admin":false},"labels":[{"id":312000310,"url":"https://api.github.com/repos/cbeust/testng/labels/Feature:%20junit","name":"Feature: junit","color":"0e8a16","default":false},{"id":211076254,"url":"https://api.github.com/repos/cbeust/testng/labels/Feature:%20report","name":"Feature: report","color":"0e8a16","default":false},{"id":467597970,"url":"https://api.github.com/repos/cbeust/testng/labels/Feature:%20skip%20test","name":"Feature: skip test","color":"0e8a16","default":false},{"id":305459137,"url":"https://api.github.com/repos/cbeust/testng/labels/xml","name":"xml","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-21T06:54:12Z","updated_at":"2016-11-21T04:03:15Z","closed_at":null,"body":"### TestNG Version\n\n6.9.13.6 (latest available)\n### Expected behavior\n\nI believe that `JUnitReportReporter` should be compliant with the JUnit 4.12 rules and thus should include the disabled/ ignored tests (the ones marked with `@Test(enabled = false)` in the XML report under `junitreports/` directory.\n\nYes, I know, I know, this is not how TestNG treats ignored tests - but if we are going to produce a JUnit-compliant test report, then I guess we should stick to the JUnit rules :)\n### Actual behavior\n\nNow, TestNG doesn't generate absolutely no info about such test in the output xml report.\n### Is the issue reproductible on runner?\n\nTested via Maven.\n### Test case sample\n\n``` java\n @Test(enabled = false)\n public void should_be_ignored() {\n     assertEquals(\"abcd\", \"abc\");\n }\n```\n\nI would expect to see followig entry in the generated JUnit report:\n\n``` xml\n<testcase time=\"0\" classname=\"com.myproject.AbcTest\" name=\"should_be_ignored\">\n  <skipped/>\n</testcase>\n```\n"},"comment":{"url":"https://api.github.com/repos/cbeust/testng/issues/comments/261837520","html_url":"https://github.com/cbeust/testng/issues/1211#issuecomment-261837520","issue_url":"https://api.github.com/repos/cbeust/testng/issues/1211","id":261837520,"user":{"login":"krmahadevan","id":909773,"avatar_url":"https://avatars.githubusercontent.com/u/909773?v=3","gravatar_id":"","url":"https://api.github.com/users/krmahadevan","html_url":"https://github.com/krmahadevan","followers_url":"https://api.github.com/users/krmahadevan/followers","following_url":"https://api.github.com/users/krmahadevan/following{/other_user}","gists_url":"https://api.github.com/users/krmahadevan/gists{/gist_id}","starred_url":"https://api.github.com/users/krmahadevan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krmahadevan/subscriptions","organizations_url":"https://api.github.com/users/krmahadevan/orgs","repos_url":"https://api.github.com/users/krmahadevan/repos","events_url":"https://api.github.com/users/krmahadevan/events{/privacy}","received_events_url":"https://api.github.com/users/krmahadevan/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T04:03:15Z","updated_at":"2016-11-21T04:03:15Z","body":"@gdemecki - Please see if this is what you were after : https://github.com/cbeust/testng/pull/1247#issuecomment-261837443"}}
{"actor":{"display_login":"krmahadevan"}}