{"action":"created","issue":{"url":"https://api.github.com/repos/n1k0/casperjs/issues/763","repository_url":"https://api.github.com/repos/n1k0/casperjs","labels_url":"https://api.github.com/repos/n1k0/casperjs/issues/763/labels{/name}","comments_url":"https://api.github.com/repos/n1k0/casperjs/issues/763/comments","events_url":"https://api.github.com/repos/n1k0/casperjs/issues/763/events","html_url":"https://github.com/n1k0/casperjs/issues/763","id":24245619,"number":763,"title":"Introduce a new HTML Test reporter/exporter","user":{"login":"mickaelandrieu","id":1247388,"avatar_url":"https://avatars.githubusercontent.com/u/1247388?v=3","gravatar_id":"","url":"https://api.github.com/users/mickaelandrieu","html_url":"https://github.com/mickaelandrieu","followers_url":"https://api.github.com/users/mickaelandrieu/followers","following_url":"https://api.github.com/users/mickaelandrieu/following{/other_user}","gists_url":"https://api.github.com/users/mickaelandrieu/gists{/gist_id}","starred_url":"https://api.github.com/users/mickaelandrieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickaelandrieu/subscriptions","organizations_url":"https://api.github.com/users/mickaelandrieu/orgs","repos_url":"https://api.github.com/users/mickaelandrieu/repos","events_url":"https://api.github.com/users/mickaelandrieu/events{/privacy}","received_events_url":"https://api.github.com/users/mickaelandrieu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/n1k0/casperjs/labels/Enhancement","name":"Enhancement","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/n1k0/casperjs/milestones/5","html_url":"https://github.com/n1k0/casperjs/milestones/1.1","labels_url":"https://api.github.com/repos/n1k0/casperjs/milestones/5/labels","id":234085,"number":5,"title":"1.1","description":"We would like to fix all currently open issues marked \"bug\" for this release:\r\n- #208 \r\n- #412\r\n- #570\r\n- #777\r\n- #824\r\n- #1354","creator":{"login":"n1k0","id":41547,"avatar_url":"https://avatars.githubusercontent.com/u/41547?v=3","gravatar_id":"","url":"https://api.github.com/users/n1k0","html_url":"https://github.com/n1k0","followers_url":"https://api.github.com/users/n1k0/followers","following_url":"https://api.github.com/users/n1k0/following{/other_user}","gists_url":"https://api.github.com/users/n1k0/gists{/gist_id}","starred_url":"https://api.github.com/users/n1k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1k0/subscriptions","organizations_url":"https://api.github.com/users/n1k0/orgs","repos_url":"https://api.github.com/users/n1k0/repos","events_url":"https://api.github.com/users/n1k0/events{/privacy}","received_events_url":"https://api.github.com/users/n1k0/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":65,"state":"open","created_at":"2012-12-23T06:53:14Z","updated_at":"2016-03-29T17:08:52Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2013-12-13T13:18:16Z","updated_at":"2016-03-31T18:38:51Z","closed_at":null,"body":"| Q                    | A\r\n| -------------         | ---\r\n| Bug fix?          | [no]\r\n| New feature?   | [yes]\r\n| BC breaks?     | [finaly, no]\r\n| Deprecations? | [yes, IMO]\r\n| Tests pass?    | [no writed at least]\r\n| Fixed tickets   | \r\n| License           | MIT\r\n| Doc PR           | [yes, with the feature PR]\r\n\r\n\r\nI like a lot the HTML format returned by Behat tool, and I try to do the same feature on casperjs.\r\nUnluckely, it's not so easy to create a new export feature with the actual options, because xunit option is actualy passed to the Tester module as a Boolean: it's a Y/N question.\r\n\r\nSo:\r\n\r\n1) change ```--xunit``` command by ```--format=xunit --file=xunit.xml```\r\n\r\n2) create a new html.js module like xunit. Not so hard, but I want to improve a little utils.node() function to accept an Optional element \"text\"\r\n```\r\n/**\r\n * Creates an (SG|X|HT)ML node element.\r\n *\r\n * @param  String  name        The node name\r\n * @param  Object  attributes  Optional attributes\r\n * @param  String  Text to fill in node element\r\n * @return HTMLElement\r\n */\r\n```\r\n\r\n3) writes tests, improve UI and write documentation\r\n\r\n![behat-like-casper](https://f.cloud.github.com/assets/1247388/1751611/526abdb4-65f4-11e3-864d-d60884523d99.png)\r\n\r\n\r\nIn fact, it actualy works but I'm wondering if this PR can be accepted before works a lot onto.\r\n\r\nWhat did you think ?\r\n"},"comment":{"url":"https://api.github.com/repos/n1k0/casperjs/issues/comments/204070662","html_url":"https://github.com/n1k0/casperjs/issues/763#issuecomment-204070662","issue_url":"https://api.github.com/repos/n1k0/casperjs/issues/763","id":204070662,"user":{"login":"BIGjuevos","id":1751088,"avatar_url":"https://avatars.githubusercontent.com/u/1751088?v=3","gravatar_id":"","url":"https://api.github.com/users/BIGjuevos","html_url":"https://github.com/BIGjuevos","followers_url":"https://api.github.com/users/BIGjuevos/followers","following_url":"https://api.github.com/users/BIGjuevos/following{/other_user}","gists_url":"https://api.github.com/users/BIGjuevos/gists{/gist_id}","starred_url":"https://api.github.com/users/BIGjuevos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BIGjuevos/subscriptions","organizations_url":"https://api.github.com/users/BIGjuevos/orgs","repos_url":"https://api.github.com/users/BIGjuevos/repos","events_url":"https://api.github.com/users/BIGjuevos/events{/privacy}","received_events_url":"https://api.github.com/users/BIGjuevos/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T18:38:51Z","updated_at":"2016-03-31T18:38:51Z","body":"@mickaelandrieu would you be ok if I take what you've got so far and port it over to xslt?"}}