{"action":"closed","issue":{"url":"https://api.github.com/repos/peridot-php/peridot/issues/185","repository_url":"https://api.github.com/repos/peridot-php/peridot","labels_url":"https://api.github.com/repos/peridot-php/peridot/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/peridot-php/peridot/issues/185/comments","events_url":"https://api.github.com/repos/peridot-php/peridot/issues/185/events","html_url":"https://github.com/peridot-php/peridot/issues/185","id":173085327,"number":185,"title":"Feature: \"Focused\" specs","user":{"login":"ezzatron","id":100152,"avatar_url":"https://avatars.githubusercontent.com/u/100152?v=3","gravatar_id":"","url":"https://api.github.com/users/ezzatron","html_url":"https://github.com/ezzatron","followers_url":"https://api.github.com/users/ezzatron/followers","following_url":"https://api.github.com/users/ezzatron/following{/other_user}","gists_url":"https://api.github.com/users/ezzatron/gists{/gist_id}","starred_url":"https://api.github.com/users/ezzatron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezzatron/subscriptions","organizations_url":"https://api.github.com/users/ezzatron/orgs","repos_url":"https://api.github.com/users/ezzatron/repos","events_url":"https://api.github.com/users/ezzatron/events{/privacy}","received_events_url":"https://api.github.com/users/ezzatron/received_events","type":"User","site_admin":false},"labels":[{"id":129695152,"url":"https://api.github.com/repos/peridot-php/peridot/labels/feature","name":"feature","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-24T23:58:16Z","updated_at":"2016-12-21T18:34:11Z","closed_at":"2016-12-21T18:34:11Z","body":"I've been trying out [Ginkgo](https://onsi.github.io/ginkgo/), a describe/it style testing framework for Go. One of it's awesome features is [\"focused\" specs](https://onsi.github.io/ginkgo/#focused-specs), which allow a developer to isolate individual suites and/or specs, without needing to pass filters via the CLI.\n\nThey function in a similar manner to Peridot's [\"pending\" specs](http://peridot-php.github.io/syntax.html#pending-specs). The idea being that when you use an `f` prefix instead of an `x`, all specs _except_ the prefixed ones are skipped.\n\nIMO, this would be an even _more_ useful feature than #181. I find it much easier to put an `f` in front of an `it()` block than to worry about running the Peridot CLI with a specific path or filter pattern.\n\nWe could of course still include a CLI mechanism, and base it off of the concept of \"focused\" specs. Gingko does this via the CLI options `--focus=REGEXP` and/or `--skip=REGEXP`.\n"}}
{"actor":{"display_login":"brianium"}}