{"action":"created","issue":{"url":"https://api.github.com/repos/theintern/intern/issues/595","repository_url":"https://api.github.com/repos/theintern/intern","labels_url":"https://api.github.com/repos/theintern/intern/issues/595/labels{/name}","comments_url":"https://api.github.com/repos/theintern/intern/issues/595/comments","events_url":"https://api.github.com/repos/theintern/intern/issues/595/events","html_url":"https://github.com/theintern/intern/issues/595","id":142507795,"node_id":"MDU6SXNzdWUxNDI1MDc3OTU=","number":595,"title":"xit and xdescribe methods in bdd interface","user":{"login":"d48","id":1338412,"node_id":"MDQ6VXNlcjEzMzg0MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1338412?v=4","gravatar_id":"","url":"https://api.github.com/users/d48","html_url":"https://github.com/d48","followers_url":"https://api.github.com/users/d48/followers","following_url":"https://api.github.com/users/d48/following{/other_user}","gists_url":"https://api.github.com/users/d48/gists{/gist_id}","starred_url":"https://api.github.com/users/d48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d48/subscriptions","organizations_url":"https://api.github.com/users/d48/orgs","repos_url":"https://api.github.com/users/d48/repos","events_url":"https://api.github.com/users/d48/events{/privacy}","received_events_url":"https://api.github.com/users/d48/received_events","type":"User","site_admin":false},"labels":[{"id":33482165,"node_id":"MDU6TGFiZWwzMzQ4MjE2NQ==","url":"https://api.github.com/repos/theintern/intern/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-03-22T00:14:08Z","updated_at":"2018-07-06T12:19:12Z","closed_at":null,"author_association":"NONE","body":"I find myself incrementally testing methods and commenting out some without having them run or report. I was using `this.skip` but have been wanting to block out bigger chunks as well. At this point i've just been commenting out blocks of code in my test files which at some points becomes a big cumbersome.\n\nAre there any issues with providing an interface for `bdd` for `xit` and `xdescribe` methods with a possible noop method or at the least report based on description of block that is being bypassed?\n\nI think this would be more convenient then the `this.skip()` method since I can deactivate entire describe block. If it's approved, I can just update the interface it looks like here with a noop method for both `xit` and `xdescribe`:\n\nhttps://github.com/theintern/intern/blob/2c209d96820020080f26efd84fab510510afeaab/lib/interfaces/bdd.js\n\n```\nreturn Object.create(tdd, {\ndescribe: createValue(tdd.suite),\nit: createValue(tdd.test),\nsuite: { value: undefined },\ntest: { value: undefined },\nxdescribe: function() {},\nxit: function() {}\n});\n```\n\n"},"comment":{"url":"https://api.github.com/repos/theintern/intern/issues/comments/403017498","html_url":"https://github.com/theintern/intern/issues/595#issuecomment-403017498","issue_url":"https://api.github.com/repos/theintern/intern/issues/595","id":403017498,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzAxNzQ5OA==","user":{"login":"jason0x43","id":1042866,"node_id":"MDQ6VXNlcjEwNDI4NjY=","avatar_url":"https://avatars0.githubusercontent.com/u/1042866?v=4","gravatar_id":"","url":"https://api.github.com/users/jason0x43","html_url":"https://github.com/jason0x43","followers_url":"https://api.github.com/users/jason0x43/followers","following_url":"https://api.github.com/users/jason0x43/following{/other_user}","gists_url":"https://api.github.com/users/jason0x43/gists{/gist_id}","starred_url":"https://api.github.com/users/jason0x43/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jason0x43/subscriptions","organizations_url":"https://api.github.com/users/jason0x43/orgs","repos_url":"https://api.github.com/users/jason0x43/repos","events_url":"https://api.github.com/users/jason0x43/events{/privacy}","received_events_url":"https://api.github.com/users/jason0x43/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T12:19:12Z","updated_at":"2018-07-06T12:19:12Z","author_association":"CONTRIBUTOR","body":"This shouldn't be too hard to do, though. The `xdescribe` and `xit` functions could just be wrappers that ignored the test function they were given and created a test containing `skip(description)`. Something like that."}}
{"actor":{"display_login":"jason0x43"}}