Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: "Focused" specs #185

Closed
ezzatron opened this issue Aug 24, 2016 · 0 comments
Closed

Feature: "Focused" specs #185

ezzatron opened this issue Aug 24, 2016 · 0 comments
Labels
Milestone

Comments

@ezzatron
Copy link
Contributor

I've been trying out Ginkgo, a describe/it style testing framework for Go. One of it's awesome features is "focused" specs, which allow a developer to isolate individual suites and/or specs, without needing to pass filters via the CLI.

They function in a similar manner to Peridot's "pending" specs. The idea being that when you use an f prefix instead of an x, all specs except the prefixed ones are skipped.

IMO, 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.

We 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant