{"action":"created","issue":{"url":"https://api.github.com/repos/cybertk/abao/issues/133","repository_url":"https://api.github.com/repos/cybertk/abao","labels_url":"https://api.github.com/repos/cybertk/abao/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/cybertk/abao/issues/133/comments","events_url":"https://api.github.com/repos/cybertk/abao/issues/133/events","html_url":"https://github.com/cybertk/abao/issues/133","id":149723654,"number":133,"title":"How we can skip test with hooks?","user":{"login":"galk-in","id":5930544,"avatar_url":"https://avatars.githubusercontent.com/u/5930544?v=3","gravatar_id":"","url":"https://api.github.com/users/galk-in","html_url":"https://github.com/galk-in","followers_url":"https://api.github.com/users/galk-in/followers","following_url":"https://api.github.com/users/galk-in/following{/other_user}","gists_url":"https://api.github.com/users/galk-in/gists{/gist_id}","starred_url":"https://api.github.com/users/galk-in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galk-in/subscriptions","organizations_url":"https://api.github.com/users/galk-in/orgs","repos_url":"https://api.github.com/users/galk-in/repos","events_url":"https://api.github.com/users/galk-in/events{/privacy}","received_events_url":"https://api.github.com/users/galk-in/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cybertk/abao/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-20T10:07:47Z","updated_at":"2016-04-20T14:59:29Z","closed_at":null,"body":"I have raml. Some of endpoints-responses in API have not implement yet. I want skip this tests.\r\nI tried: \r\n```javascript\r\nhooks.before('POST /customers -> 201', function (test, done) {\r\n  test.skip = false;\r\n  done();\r\n});\r\nhooks.after('POST /customers -> 201', function (test, done) {\r\n  test.skip = false;\r\n  done();\r\n});\r\n```\r\nIt's not work.\r\n"},"comment":{"url":"https://api.github.com/repos/cybertk/abao/issues/comments/212463124","html_url":"https://github.com/cybertk/abao/issues/133#issuecomment-212463124","issue_url":"https://api.github.com/repos/cybertk/abao/issues/133","id":212463124,"user":{"login":"plroebuck","id":16603429,"avatar_url":"https://avatars.githubusercontent.com/u/16603429?v=3","gravatar_id":"","url":"https://api.github.com/users/plroebuck","html_url":"https://github.com/plroebuck","followers_url":"https://api.github.com/users/plroebuck/followers","following_url":"https://api.github.com/users/plroebuck/following{/other_user}","gists_url":"https://api.github.com/users/plroebuck/gists{/gist_id}","starred_url":"https://api.github.com/users/plroebuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plroebuck/subscriptions","organizations_url":"https://api.github.com/users/plroebuck/orgs","repos_url":"https://api.github.com/users/plroebuck/repos","events_url":"https://api.github.com/users/plroebuck/events{/privacy}","received_events_url":"https://api.github.com/users/plroebuck/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T14:59:29Z","updated_at":"2016-04-20T14:59:29Z","body":"Comment those hooks out and invoke with `--hooks-only` option.\n\nOn Apr 20, 2016, at 5:07 AM, Nikita Galkin wrote:\n\n> I have raml. Some of endpoints-responses in API have not implement yet. I want skip this tests.\n> I tried:\n> \n> hooks.before('POST /customers -> 201', function (test, done) {\n>   test.skip = false;\n>   done();\n> });\n> hooks.after('POST /customers -> 201', function (test, done) {\n>   test.skip = false;\n>   done();\n> });\n> It's not work.\n> \n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly or view it on GitHub\n> \n\n"}}