{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/qunit/issues/972","repository_url":"https://api.github.com/repos/jquery/qunit","labels_url":"https://api.github.com/repos/jquery/qunit/issues/972/labels{/name}","comments_url":"https://api.github.com/repos/jquery/qunit/issues/972/comments","events_url":"https://api.github.com/repos/jquery/qunit/issues/972/events","html_url":"https://github.com/jquery/qunit/pull/972","id":143352545,"number":972,"title":"Tap reporter (prototype yet - please come and discuss)","user":{"login":"leobalter","id":301201,"avatar_url":"https://avatars.githubusercontent.com/u/301201?v=3","gravatar_id":"","url":"https://api.github.com/users/leobalter","html_url":"https://github.com/leobalter","followers_url":"https://api.github.com/users/leobalter/followers","following_url":"https://api.github.com/users/leobalter/following{/other_user}","gists_url":"https://api.github.com/users/leobalter/gists{/gist_id}","starred_url":"https://api.github.com/users/leobalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leobalter/subscriptions","organizations_url":"https://api.github.com/users/leobalter/orgs","repos_url":"https://api.github.com/users/leobalter/repos","events_url":"https://api.github.com/users/leobalter/events{/privacy}","received_events_url":"https://api.github.com/users/leobalter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jquery/qunit/labels/CLA:%20Valid","name":"CLA: Valid","color":"007700"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-24T20:36:34Z","updated_at":"2016-05-13T04:19:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jquery/qunit/pulls/972","html_url":"https://github.com/jquery/qunit/pull/972","diff_url":"https://github.com/jquery/qunit/pull/972.diff","patch_url":"https://github.com/jquery/qunit/pull/972.patch"},"body":"This is my first prototype for a QUnit's native tap reporter. Following the specs for TAP version 13.\r\n\r\nThe tap output allows QUnit to be integrated anywhere that reads tap. With this prototype I would like to propose a tap adapter for js-reporter so it could (and should) read any tap result, and potentially validate.\r\n\r\nThis reporter is browser compatible and can be used anywhere with a console.log or by setting a custom print method.\r\n\r\n`QUnit.reporter( \"tap\" )` needs to be called to activate this reporter, this way allows extensiblity without polluting the namespace with other methods."},"comment":{"url":"https://api.github.com/repos/jquery/qunit/issues/comments/218948636","html_url":"https://github.com/jquery/qunit/pull/972#issuecomment-218948636","issue_url":"https://api.github.com/repos/jquery/qunit/issues/972","id":218948636,"user":{"login":"trentmwillis","id":3526753,"avatar_url":"https://avatars.githubusercontent.com/u/3526753?v=3","gravatar_id":"","url":"https://api.github.com/users/trentmwillis","html_url":"https://github.com/trentmwillis","followers_url":"https://api.github.com/users/trentmwillis/followers","following_url":"https://api.github.com/users/trentmwillis/following{/other_user}","gists_url":"https://api.github.com/users/trentmwillis/gists{/gist_id}","starred_url":"https://api.github.com/users/trentmwillis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trentmwillis/subscriptions","organizations_url":"https://api.github.com/users/trentmwillis/orgs","repos_url":"https://api.github.com/users/trentmwillis/repos","events_url":"https://api.github.com/users/trentmwillis/events{/privacy}","received_events_url":"https://api.github.com/users/trentmwillis/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T04:19:39Z","updated_at":"2016-05-13T04:19:39Z","body":"Finally got around to looking at this. Overall, I like the idea. I've seen plenty of node-based shims to get reporter output so providing a default would be nice. A couple other questions:\r\n\r\n- How would one register another reporter to use? Seems like we should define that interface so plugin authors have a standard to follow.\r\n- Would this be the only reporter we maintain other than the HTML reporter? Similarly, how would this play with the HTML reporter? Should we support running both at the same time and will we move the HTML reporter to be initialized in a similar fashion (e.g., `QUnit.reporter('html')`)?\r\n\r\n\r\n"}}