{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/169","repository_url":"https://api.github.com/repos/Codeception/CodeceptJS","labels_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/169/comments","events_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/169/events","html_url":"https://github.com/Codeception/CodeceptJS/issues/169","id":167296684,"number":169,"title":"Mocha jUnit reporter file not created when path is specified","user":{"login":"Nighthawk14","id":2417908,"avatar_url":"https://avatars.githubusercontent.com/u/2417908?v=3","gravatar_id":"","url":"https://api.github.com/users/Nighthawk14","html_url":"https://github.com/Nighthawk14","followers_url":"https://api.github.com/users/Nighthawk14/followers","following_url":"https://api.github.com/users/Nighthawk14/following{/other_user}","gists_url":"https://api.github.com/users/Nighthawk14/gists{/gist_id}","starred_url":"https://api.github.com/users/Nighthawk14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nighthawk14/subscriptions","organizations_url":"https://api.github.com/users/Nighthawk14/orgs","repos_url":"https://api.github.com/users/Nighthawk14/repos","events_url":"https://api.github.com/users/Nighthawk14/events{/privacy}","received_events_url":"https://api.github.com/users/Nighthawk14/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Codeception/CodeceptJS/labels/reporter","name":"reporter","color":"f39c12"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-25T07:08:59Z","updated_at":"2016-08-08T09:53:45Z","closed_at":"2016-08-08T09:53:45Z","body":"When using mocha-junit-reporter with a specific path for the ouput file: \r\n`--reporter-options mochaFile=test-results.[hash].xml`\r\n\r\nThe file is not created.  It works fine when running tests directly with mocha and the command line like that :\r\n`mocha --reporter mocha-junit-reporter --reporter-options mochaFile=./reports/api/test-results.[hash].xml`\r\n\r\nNot sure if the issue is with CodeceptJs but as it is working directly with mocha I think is good to get it here anyway.\r\n\r\nps: When the option is not specified the file is created but in root directory.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/comments/238191577","html_url":"https://github.com/Codeception/CodeceptJS/issues/169#issuecomment-238191577","issue_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/169","id":238191577,"user":{"login":"DavertMik","id":220264,"avatar_url":"https://avatars.githubusercontent.com/u/220264?v=3","gravatar_id":"","url":"https://api.github.com/users/DavertMik","html_url":"https://github.com/DavertMik","followers_url":"https://api.github.com/users/DavertMik/followers","following_url":"https://api.github.com/users/DavertMik/following{/other_user}","gists_url":"https://api.github.com/users/DavertMik/gists{/gist_id}","starred_url":"https://api.github.com/users/DavertMik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavertMik/subscriptions","organizations_url":"https://api.github.com/users/DavertMik/orgs","repos_url":"https://api.github.com/users/DavertMik/repos","events_url":"https://api.github.com/users/DavertMik/events{/privacy}","received_events_url":"https://api.github.com/users/DavertMik/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T09:53:45Z","updated_at":"2016-08-08T09:53:45Z","body":"Fixed in #193 "}}
{"actor":{"display_login":"DavertMik"}}