{"action":"created","issue":{"url":"https://api.github.com/repos/karma-runner/karma-junit-reporter/issues/56","labels_url":"https://api.github.com/repos/karma-runner/karma-junit-reporter/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/karma-runner/karma-junit-reporter/issues/56/comments","events_url":"https://api.github.com/repos/karma-runner/karma-junit-reporter/issues/56/events","html_url":"https://github.com/karma-runner/karma-junit-reporter/issues/56","id":100275491,"number":56,"title":"Report Directory Structure when using an outputFile name","user":{"login":"fraserhart","id":1821772,"avatar_url":"https://avatars.githubusercontent.com/u/1821772?v=3","gravatar_id":"","url":"https://api.github.com/users/fraserhart","html_url":"https://github.com/fraserhart","followers_url":"https://api.github.com/users/fraserhart/followers","following_url":"https://api.github.com/users/fraserhart/following{/other_user}","gists_url":"https://api.github.com/users/fraserhart/gists{/gist_id}","starred_url":"https://api.github.com/users/fraserhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fraserhart/subscriptions","organizations_url":"https://api.github.com/users/fraserhart/orgs","repos_url":"https://api.github.com/users/fraserhart/repos","events_url":"https://api.github.com/users/fraserhart/events{/privacy}","received_events_url":"https://api.github.com/users/fraserhart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-11T10:04:19Z","updated_at":"2015-08-24T09:41:07Z","closed_at":null,"body":"There seems to be an issue with the report directory structure when specifying an output directory and outputFile.\r\n\r\nUsing the karma.conf:\r\n```\r\njunitReporter: {\r\n        outputDir: 'reports/karma',\r\n        outputFile: 'report.xml',\r\n        suite: ''\r\n    },\r\n```\r\nI would expect:\r\n/reports/karma/$browserName/report.xml\r\n/reports/karma/$browserName/report.xml\r\n/reports/karma/$browserName/report.xml\r\netc etc for the various browsers, however my output appears like so:\r\n![screen shot 2015-08-11 at 11 01 34](https://cloud.githubusercontent.com/assets/1821772/9195127/644887dc-4018-11e5-8ed0-551fe761bb4b.png)\r\n\r\nWithout specifying the outputFile the output is as expected\r\n```\r\njunitReporter: {\r\n        outputDir: 'reports/karma',\r\n        outputFile: undefined,\r\n        suite: ''\r\n    },\r\n```\r\n\r\n![screen shot 2015-08-11 at 11 03 38](https://cloud.githubusercontent.com/assets/1821772/9195169/a5a3b968-4018-11e5-8543-9959d7e81660.png)\r\n"},"comment":{"url":"https://api.github.com/repos/karma-runner/karma-junit-reporter/issues/comments/134113538","html_url":"https://github.com/karma-runner/karma-junit-reporter/issues/56#issuecomment-134113538","issue_url":"https://api.github.com/repos/karma-runner/karma-junit-reporter/issues/56","id":134113538,"user":{"login":"fraserhart","id":1821772,"avatar_url":"https://avatars.githubusercontent.com/u/1821772?v=3","gravatar_id":"","url":"https://api.github.com/users/fraserhart","html_url":"https://github.com/fraserhart","followers_url":"https://api.github.com/users/fraserhart/followers","following_url":"https://api.github.com/users/fraserhart/following{/other_user}","gists_url":"https://api.github.com/users/fraserhart/gists{/gist_id}","starred_url":"https://api.github.com/users/fraserhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fraserhart/subscriptions","organizations_url":"https://api.github.com/users/fraserhart/orgs","repos_url":"https://api.github.com/users/fraserhart/repos","events_url":"https://api.github.com/users/fraserhart/events{/privacy}","received_events_url":"https://api.github.com/users/fraserhart/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T09:41:06Z","updated_at":"2015-08-24T09:41:06Z","body":"0.13.9\r\n\r\nCheers"}}