{"action":"created","issue":{"url":"https://api.github.com/repos/phpspec/phpspec/issues/605","labels_url":"https://api.github.com/repos/phpspec/phpspec/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/phpspec/phpspec/issues/605/comments","events_url":"https://api.github.com/repos/phpspec/phpspec/issues/605/events","html_url":"https://github.com/phpspec/phpspec/issues/605","id":54002378,"number":605,"title":"Need a way to skip examples entirely","user":{"login":"ciaranmcnulty","id":237866,"avatar_url":"https://avatars.githubusercontent.com/u/237866?v=3","gravatar_id":"","url":"https://api.github.com/users/ciaranmcnulty","html_url":"https://github.com/ciaranmcnulty","followers_url":"https://api.github.com/users/ciaranmcnulty/followers","following_url":"https://api.github.com/users/ciaranmcnulty/following{/other_user}","gists_url":"https://api.github.com/users/ciaranmcnulty/gists{/gist_id}","starred_url":"https://api.github.com/users/ciaranmcnulty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciaranmcnulty/subscriptions","organizations_url":"https://api.github.com/users/ciaranmcnulty/orgs","repos_url":"https://api.github.com/users/ciaranmcnulty/repos","events_url":"https://api.github.com/users/ciaranmcnulty/events{/privacy}","received_events_url":"https://api.github.com/users/ciaranmcnulty/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phpspec/phpspec/labels/refactoring","name":"refactoring","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-11T19:48:37Z","updated_at":"2015-01-12T11:16:16Z","closed_at":null,"body":"I found myself needing to skip an example entirely, because the collaborators are not available on different environments: https://github.com/ciaranmcnulty/phpspec/blob/refactor/support-questionhelper/src/PhpSpec/Console/Prompter/Question.php\r\n\r\nThe skipping was simple thanks to @gquemener's work in this area, but the problem is that it's then not possible to type hint the collaborator in the normal way.\r\n\r\nWhat would be great would be a way to indicate that an entire example can be completely skipped at the Locator level. Whether that's via Annotations, config, some sort of programmatic way (like `MatcherProviderInterface`)"},"comment":{"url":"https://api.github.com/repos/phpspec/phpspec/issues/comments/69556211","html_url":"https://github.com/phpspec/phpspec/issues/605#issuecomment-69556211","issue_url":"https://api.github.com/repos/phpspec/phpspec/issues/605","id":69556211,"user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T11:16:16Z","updated_at":"2015-01-12T11:16:16Z","body":"> I appreciate that some people are using the tool for functional or integration testing, so this extension will be useful for them; @gquemener can you please add a link to your extension in the docs at https://github.com/phpspec/phpspec/blob/master/docs/cookbook/extensions.rst ?\r\n\r\nI agree about linking to the extension, but I think it deserves to put a warning near it to educate people that they should use a different tool in this case"}}